]> git.notmuchmail.org Git - notmuch/commitdiff
notmuch.el: Fix notmuch-search-goto-last-thread.
authorCarl Worth <cworth@cworth.org>
Tue, 1 Dec 2009 00:50:52 +0000 (16:50 -0800)
committerCarl Worth <cworth@cworth.org>
Tue, 1 Dec 2009 00:50:52 +0000 (16:50 -0800)
This broke when we switched to filter-based processing of search
results and added the "End of search results" line onto the end. Fix
to skip ignore that line when moving to the last thread.

notmuch.el

index 9eb84696ff56dcb6134ac2d29e72df0473ec7157..439a975fadca06464407b213f814e094efe10281 100644 (file)
@@ -985,7 +985,7 @@ thread from that buffer can be show when done with this one)."
   "Move point to the last thread in the buffer."
   (interactive)
   (goto-char (point-max))
-  (forward-line -1))
+  (forward-line -2))
 
 (defface notmuch-tag-face
   '((((class color)