1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-25 07:28:02 +02:00

* mu4e-compose.el: cleanup signature insertion a bit

This commit is contained in:
djcb 2012-06-04 12:29:48 +02:00
parent 90f43084e6
commit 00c92ef715

View File

@ -535,11 +535,11 @@ Gnus' `message-mode'."
(dolist (att includes)
(mml-attach-file
(plist-get att :file-name) (plist-get att :mime-type))))
;; include the message header if it's set; but not when editing an existing
;; message.
;; include the message header (if it's set); but not when editing an
;; existing message.
(unless (eq compose-type 'edit)
(when message-signature
(message-insert-signature)))
(message-insert-signature))
;; set compose mode -- so now hooks can run
(mu4e-compose-mode)