[PATCH 1/2] emacs: If archiving the last message in a thread, show the next thread.

David Edmondson dme at dme.org
Tue Jan 31 00:01:53 PST 2012


When archiving the last message in a thread (a), rather than just
moving the pointer to the next thread in the parent search buffer,
actually display the next thread.
---
 emacs/notmuch-show.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index de9421e..ec72ff8 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -1427,7 +1427,7 @@ buffer."
 	  (notmuch-show-mark-read)
 	  (notmuch-show-message-adjust))
       (if pop-at-end
-	  (notmuch-show-next-thread)
+	  (notmuch-show-next-thread t)
 	(goto-char (point-max))))))
 
 (defun notmuch-show-previous-open-message ()
-- 
1.7.8.3



More information about the notmuch mailing list