]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.el
Makefile: Fix the fallback emacs install path.
[notmuch] / notmuch.el
index fa39da62dd43434e5c69db560f658a24904f7b06..cd3780fae8acadd59a3a52514ac52817e16918bb 100644 (file)
@@ -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