Add mu4e-headers-mark-all to execute certain action on all msgs from current query

This commit is contained in:
Jun Hao 2015-11-17 12:06:41 +08:00
parent 3c8f031f39
commit 2a75c652c2
1 changed files with 10 additions and 0 deletions

View File

@ -41,6 +41,16 @@
;;;
(defun mu4e-headers-mark-all ()
"Mark all messages within current query results and ask user to execute which action."
(interactive)
(mu4e-headers-mark-for-each-if
(cons 'something nil)
(lambda (msg param) t))
(mu4e-mark-execute-all))
;;;
(defun mu4e-shr2text ()
"Html to text using the shr engine; this can be used in
`mu4e-html2text-command' in a new enough emacs. Based on code by