mu4e: add org-mu4e-store-and-capture

Make it easy to store and capture the current message, using
M-x org-mu4e-store-and-capture. This is a first step.
This commit is contained in:
djcb 2015-12-21 22:21:22 +02:00
parent 41677dfa0b
commit fc30bc1a24
1 changed files with 7 additions and 0 deletions

View File

@ -132,6 +132,13 @@ the query (for paths starting with 'query:')."
(t (mu4e-error "mu4e: unrecognized link type '%s'" path))))
(defun org-mu4e-store-and-capture ()
"Store a link to the current message or query (depending on
`org-mu4e-link-query-in-headers-mode', and capture it with
org-mode)."
(interactive)
(org-mu4e-store-link)
(org-capture))
;;; editing with org-mode ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;