]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-mua.el
emacs: push mark before signature on reply
[notmuch] / emacs / notmuch-mua.el
index b16a10ecd37977183a28e06d172f465bbccece40..ba3ef275ec5ef03f894602499f224cce99130ed1 100644 (file)
@@ -226,8 +226,12 @@ list."
        ;; Quote the original message according to the user's configured style.
        (message-cite-original))))
 
-  (goto-char (point-max))
+  ;; Push mark right before signature, if any.
+  (message-goto-signature)
+  (unless (eobp)
+    (end-of-line -1))
   (push-mark)
+
   (message-goto-body)
   (set-buffer-modified-p nil))