X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-mua.el;h=bd06e3cb29764c2cc4f46de96111a4da47db622e;hb=3d64993586af7286c6b0fc56bdcef19ae7813c80;hp=9fbb94a668342f06821597d8d4c50fe509fa9ef4;hpb=56cbff29887420a649e36a69af1ae2ab70fdd8b5;p=notmuch diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index 9fbb94a6..bd06e3cb 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -101,7 +101,7 @@ list." ;; insert the message body - but put it in front of the signature ;; if one is present (goto-char (point-max)) - (if (re-search-backward "-- " nil t) + (if (re-search-backward message-signature-separator nil t) (forward-line -1) (goto-char (point-max))) (insert body))