emacs: use pop-at-end functionality in show-archive-message-then-next function
authorJameson Graef Rollins <jrollins@finestructure.net>
Wed, 25 Jan 2012 00:06:21 +0000 (16:06 -0800)
committerDavid Bremner <bremner@debian.org>
Tue, 31 Jan 2012 03:24:02 +0000 (23:24 -0400)
This provides a smoother message processing flow by reducing the
number of key presses needed for these common operations.

emacs/notmuch-show.el

index 293c00b669cdfbaa563746c2dae4f5cb13c0d6f3..9a40b0e2c3a16a1a6252088c448dc8c55553381e 100644 (file)
@@ -1648,7 +1648,7 @@ removed)."
   "Archive the current message, then show the next open message in the current thread."
   (interactive)
   (notmuch-show-archive-message)
-  (notmuch-show-next-open-message))
+  (notmuch-show-next-open-message t))
 
 (defun notmuch-show-stash-cc ()
   "Copy CC field of current message to kill-ring."