From: Keith Packard Date: Sat, 21 Nov 2009 04:57:35 +0000 (-0800) Subject: Insert signature into replies X-Git-Tag: 0.1~360 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=265be025c2372de16f526a6bb85f627651632b6d;hp=03fd69322b1583e1a05007d303d9fd15a54a02af Insert signature into replies When you compose a new message, message mode carefully inserts your mail signature at the bottom of the message; as notmuch constructs the reply all by itself, this doesn't happen then. Use the message mode function 'message-insert-signature' to add that to reply buffers. Signed-off-by: Keith Packard --- diff --git a/notmuch.el b/notmuch.el index 9247cdd5..1f244613 100644 --- a/notmuch.el +++ b/notmuch.el @@ -289,6 +289,7 @@ buffer." (defun notmuch-reply (query-string) (switch-to-buffer (generate-new-buffer "notmuch-draft")) (call-process notmuch-command nil t nil "reply" query-string) + (message-insert-signature) (goto-char (point-min)) (if (re-search-forward "^$" nil t) (progn