aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.el
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-21 00:58:16 +0100
committerGravatar Carl Worth <cworth@cworth.org>2009-11-21 00:58:16 +0100
commit882a58de5fdfb8500ef3d75189299dadba2c96d0 (patch)
treed7dd7856ef9bc88d4868bd6b1f13a66109514878 /notmuch.el
parentaa46a34408709a6434c8b2bfa438de9b33c04211 (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.
Diffstat (limited to 'notmuch.el')
-rw-r--r--notmuch.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/notmuch.el b/notmuch.el
index 0e4c7813..cd3780fa 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -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