* mu4e-compose.el: strip existing signatures from replies

This commit is contained in:
djcb
2012-06-16 08:57:13 +03:00
parent 3cb1a5e073
commit d238d186ce

View File

@ -105,6 +105,9 @@ such all its settings apply."
(with-temp-buffer (with-temp-buffer
(when (fboundp 'mu4e-view-message-text) ;; keep bytecompiler happy (when (fboundp 'mu4e-view-message-text) ;; keep bytecompiler happy
(insert (mu4e-view-message-text msg)) (insert (mu4e-view-message-text msg))
;; this seems to be needed, otherwise existing signatures
;; won't be stripped
(message-yank-original)
(goto-char (point-min)) (goto-char (point-min))
(push-mark (point-max)) (push-mark (point-max))
(funcall message-cite-function) (funcall message-cite-function)