diff options
| author | Thomas Thiriez <thomas@twistedwave.com> | 2025-10-22 10:35:43 +0200 |
|---|---|---|
| committer | Thomas Thiriez <thomas@twistedwave.com> | 2025-10-22 10:35:43 +0200 |
| commit | faac2837aac514ae4749f564a66ec768849d4e08 (patch) | |
| tree | 5d547cdd6c71d5ef15a560e57698aad0b644c4cd /mu4e | |
| parent | 6cb20f98943aa4378c776feed3d6c37a7fdbcee5 (diff) | |
Add the mu4e-view-mark-and-next function.
Diffstat (limited to 'mu4e')
| -rw-r--r-- | mu4e/mu4e-view.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el index 9f9d6d5..d243fdb 100644 --- a/mu4e/mu4e-view.el +++ b/mu4e/mu4e-view.el @@ -389,6 +389,13 @@ list." (mu4e-view-mark-for-unmark) (mu4e-message "Unmarking needs to be done in the header list view"))) +(defun mu4e-view-mark-and-next (mark) + "Set MARK on the current message. + Then, move to the next message." + (interactive) + (mu4e--view-in-headers-context + (mu4e-headers-mark-and-next mark))) + (defmacro mu4e--view-defun-mark-for (mark) "Define a function mu4e-view-mark-for- MARK." (let ((funcname (intern (format "mu4e-view-mark-for-%s" mark))) |
