mirror of
https://github.com/djcb/mu.git
synced 2024-06-28 07:41:04 +02:00
* mu4e-compose.el: cleanup signature insertion a bit
This commit is contained in:
parent
90f43084e6
commit
00c92ef715
|
@ -535,11 +535,11 @@ Gnus' `message-mode'."
|
||||||
(dolist (att includes)
|
(dolist (att includes)
|
||||||
(mml-attach-file
|
(mml-attach-file
|
||||||
(plist-get att :file-name) (plist-get att :mime-type))))
|
(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)
|
(unless (eq compose-type 'edit)
|
||||||
(when message-signature
|
(message-insert-signature))
|
||||||
(message-insert-signature)))
|
|
||||||
|
|
||||||
;; set compose mode -- so now hooks can run
|
;; set compose mode -- so now hooks can run
|
||||||
(mu4e-compose-mode)
|
(mu4e-compose-mode)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user