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:
Carl Worth 2009-11-21 00:58:16 +01:00
parent aa46a34408
commit 882a58de5f

View file

@ -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