advance after mark can now be disabled

The variable mu4e-headers-advance-after-mark can be set to nil if you
want to disable moving to the next mail after marking.
This commit is contained in:
Arne Köhn 2017-04-25 16:40:41 +02:00
parent 22e11fc112
commit 47a046c662
1 changed files with 7 additions and 1 deletions

View File

@ -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
@ -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.