mu4e: Use save-excursion to leave point before signature
Based on the patch by janisteunissen.
7f8b598e00
This commit is contained in:
@ -435,8 +435,9 @@ from either `mu4e~draft-reply-construct', or
|
|||||||
(if mu4e-compose-signature-auto-include
|
(if mu4e-compose-signature-auto-include
|
||||||
(let ((message-signature (or mu4e-compose-signature "\n"))
|
(let ((message-signature (or mu4e-compose-signature "\n"))
|
||||||
(message-signature-insert-empty-line t))
|
(message-signature-insert-empty-line t))
|
||||||
|
(save-excursion
|
||||||
(message-insert-signature)
|
(message-insert-signature)
|
||||||
(mu4e~fontify-signature))
|
(mu4e~fontify-signature)))
|
||||||
(insert "\n"))))
|
(insert "\n"))))
|
||||||
;; evaluate mu4e~drafts-drafts-folder once, here, and use that value
|
;; evaluate mu4e~drafts-drafts-folder once, here, and use that value
|
||||||
;; throughout.
|
;; throughout.
|
||||||
|
|||||||
Reference in New Issue
Block a user