X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.el;h=cd3780fae8acadd59a3a52514ac52817e16918bb;hp=0e4c78136b0cd518c22303763c3d864e7ffd9a7f;hb=882a58de5fdfb8500ef3d75189299dadba2c96d0;hpb=aa46a34408709a6434c8b2bfa438de9b33c04211 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