mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-28 21:54:10 +01:00
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>
This commit is contained in:
parent
03fd69322b
commit
265be025c2
1 changed files with 1 additions and 0 deletions
|
@ -289,6 +289,7 @@ buffer."
|
||||||
(defun notmuch-reply (query-string)
|
(defun notmuch-reply (query-string)
|
||||||
(switch-to-buffer (generate-new-buffer "notmuch-draft"))
|
(switch-to-buffer (generate-new-buffer "notmuch-draft"))
|
||||||
(call-process notmuch-command nil t nil "reply" query-string)
|
(call-process notmuch-command nil t nil "reply" query-string)
|
||||||
|
(message-insert-signature)
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(if (re-search-forward "^$" nil t)
|
(if (re-search-forward "^$" nil t)
|
||||||
(progn
|
(progn
|
||||||
|
|
Loading…
Reference in a new issue