mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
notmuch.el: Don't use end-of-buffer which is inappropriate from programs
The documentation is quite clear about this case. With this, we can now byte compile without warnings.
This commit is contained in:
parent
aa46a34408
commit
882a58de5f
1 changed files with 3 additions and 3 deletions
|
@ -772,10 +772,10 @@ thread from that buffer can be show when done with this one)."
|
|||
(goto-char (window-start))
|
||||
(scroll-down nil)))
|
||||
|
||||
(defun notmuch-search-goto-last-thread (&optional arg)
|
||||
(defun notmuch-search-goto-last-thread ()
|
||||
"Move point to the last thread in the buffer."
|
||||
(interactive "^P")
|
||||
(end-of-buffer arg)
|
||||
(interactive)
|
||||
(goto-char (point-max))
|
||||
(forward-line -1))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Reference in a new issue