Skip to content

Commit

Permalink
advance after mark can now be disabled
Browse files Browse the repository at this point in the history
The variable mu4e-headers-advance-after-mark can be set to nil if you
want to disable moving to the next mail after marking.
  • Loading branch information
akoehn committed Apr 25, 2017
1 parent 22e11fc commit 47a046c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion mu4e/mu4e-headers.el
Expand Up @@ -127,6 +127,12 @@ and offlineimap."
:type 'boolean
:group 'mu4e-headers)

(defcustom mu4e-headers-advance-after-mark t
"With this option set to non-nil, automatically advance to the
next mail after marking a message in header view."
:type 'boolean
:group 'mu4e-headers)

(defcustom mu4e-headers-include-related t
"With this option set to non-nil, not just return the matches for
a searches, but also messages that are related (through their
Expand Down Expand Up @@ -1700,7 +1706,7 @@ argument."
region if there is a region, then move to the next message."
(interactive)
(mu4e-mark-set mark)
(mu4e-headers-next))
(when mu4e-headers-advance-after-mark (mu4e-headers-next)))

(defun mu4e~headers-quit-buffer ()
"Quit the mu4e-headers buffer.
Expand Down

0 comments on commit 47a046c

Please sign in to comment.