Merge pull request #847 from Chris00/captured-message

mu4e: Add a menu entry to attach captured messages
This commit is contained in:
Dirk-Jan C. Binnema
2016-05-14 15:15:07 +03:00

View File

@ -397,6 +397,15 @@ simply executes `fill-paragraph'."
:enable mu4e-compose-format-flowed) :enable mu4e-compose-format-flowed)
'sep) 'sep)
(define-key-after
(lookup-key mml-mode-map [menu-bar Attachments])
[mu4e-compose-attach-captured-message]
'(menu-item "Attach captured message"
mu4e-compose-attach-captured-message
:help "Attach message captured in Headers View (with 'a c')"
:visible (eq major-mode 'mu4e-compose-mode))
(quote Attach\ External...))
;; setup the fcc-stuff, if needed ;; setup the fcc-stuff, if needed
(add-hook 'message-send-hook (add-hook 'message-send-hook
(lambda () ;; mu4e~compose-save-before-sending (lambda () ;; mu4e~compose-save-before-sending