X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.el;h=cd3780fae8acadd59a3a52514ac52817e16918bb;hp=fa39da62dd43434e5c69db560f658a24904f7b06;hb=0414c774d212c6be95385a9bf849460242da41a0;hpb=d295f50ac7f9c61e7c8e3551f4fca6cd903707fe diff --git a/notmuch.el b/notmuch.el index fa39da62..cd3780fa 100644 --- a/notmuch.el +++ b/notmuch.el @@ -694,7 +694,7 @@ thread from that buffer can be show when done with this one)." (let ((proc (get-buffer-process (current-buffer))) (inhibit-read-only t)) (if proc - (error "notmuch search process already running for query `%s'" query) + (error "notmuch search process already running for query `%s'" thread-id) ) (erase-buffer) (goto-char (point-min)) @@ -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