mu4e: Use save-excursion to leave point before signature

Based on the patch by janisteunissen.
  7f8b598e00
This commit is contained in:
djcb
2014-10-12 16:18:07 +03:00
parent 0faeceb46a
commit 46934a9167

View File

@ -435,8 +435,9 @@ from either `mu4e~draft-reply-construct', or
(if mu4e-compose-signature-auto-include
(let ((message-signature (or mu4e-compose-signature "\n"))
(message-signature-insert-empty-line t))
(save-excursion
(message-insert-signature)
(mu4e~fontify-signature))
(mu4e~fontify-signature)))
(insert "\n"))))
;; evaluate mu4e~drafts-drafts-folder once, here, and use that value
;; throughout.