mirror of https://github.com/djcb/mu.git
* mu4e: make sure there's always an ending newline
This commit is contained in:
parent
e954cb127b
commit
a36d4bd72f
|
@ -423,11 +423,12 @@ from either `mu4e~draft-reply-construct', or
|
|||
(new (mu4e~draft-newmsg-construct))
|
||||
(t (mu4e-error "unsupported compose-type %S" compose-type))))
|
||||
;; include the message signature (if it's set)
|
||||
(when mu4e-compose-signature-auto-include
|
||||
(let ((message-signature mu4e-compose-signature)
|
||||
(if mu4e-compose-signature-auto-include
|
||||
(let ((message-signature (or mu4e-compose-signature "\n"))
|
||||
(message-signature-insert-empty-line t))
|
||||
(message-insert-signature)
|
||||
(mu4e~fontify-signature)))))
|
||||
(mu4e~fontify-signature))
|
||||
(insert "\n"))))
|
||||
;; evaluate mu4e~drafts-drafts-folder once, here, and use that value
|
||||
;; throughout.
|
||||
(set (make-local-variable 'mu4e~draft-drafts-folder) draft-dir)
|
||||
|
|
Loading…
Reference in New Issue