From 265be025c2372de16f526a6bb85f627651632b6d Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 20 Nov 2009 20:57:35 -0800 Subject: [PATCH] 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 --- notmuch.el | 1 + 1 file changed, 1 insertion(+) 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