mu4e: document org-mu4e-store-and-capture in manual

Document org-mu4e-store-and-capture in the manual. Some cosmetics.
This commit is contained in:
djcb
2015-12-22 18:02:50 +02:00
parent 972678b6be
commit d6f8dd19df
2 changed files with 31 additions and 26 deletions

View File

@ -123,7 +123,6 @@ Example usage:
(defun org-mu4e-open (path)
"Open the mu4e message (for paths starting with 'msgid:') or run
the query (for paths starting with 'query:')."
(require 'mu4e)
(cond
((string-match "^msgid:\\(.+\\)" path)
(mu4e-view-message-with-msgid (match-string 1 path)))
@ -131,7 +130,6 @@ the query (for paths starting with 'query:')."
(mu4e-headers-search (match-string 1 path) current-prefix-arg))
(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
@ -140,6 +138,7 @@ org-mode)."
(org-mu4e-store-link)
(org-capture))
;;; editing with org-mode ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;