diff options
author | Carl Worth <cworth@cworth.org> | 2009-11-21 00:58:16 +0100 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-11-21 00:58:16 +0100 |
commit | 882a58de5fdfb8500ef3d75189299dadba2c96d0 (patch) | |
tree | d7dd7856ef9bc88d4868bd6b1f13a66109514878 | |
parent | aa46a34408709a6434c8b2bfa438de9b33c04211 (diff) |
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.
-rw-r--r-- | notmuch.el | 6 |
1 files changed, 3 insertions, 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 |