aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-11-20 20:57:35 -0800
committerCarl Worth <cworth@cworth.org>2009-11-23 01:28:29 +0100
commit265be025c2372de16f526a6bb85f627651632b6d (patch)
treef7480e2ae3f0618f74147fd2533c1ab9a22a962a
parent03fd69322b1583e1a05007d303d9fd15a54a02af (diff)
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 <keithp@keithp.com>
-rw-r--r--notmuch.el1
1 files changed, 1 insertions, 0 deletions
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