From ccd167d91c67d307e745d9c4b200109f679e2fc1 Mon Sep 17 00:00:00 2001 From: Eduardo Bellani Date: Fri, 3 Sep 2021 10:38:30 -0300 Subject: [PATCH] fix: make go-to-body ignore the signature This was putting the cursor below quoted text, making replying much harder than otherwise. --- org-msg.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/org-msg.el b/org-msg.el index 78498a7..e2fdf5d 100644 --- a/org-msg.el +++ b/org-msg.el @@ -1356,11 +1356,8 @@ This function is used as an advice function of "Move point to the beginning of the message body." (interactive) (goto-char (point-min)) - (if org-msg-signature - (when (search-forward org-msg-signature nil t) - (goto-char (match-beginning 0))) - (while (re-search-forward org-property-re nil t) - (forward-line)))) + (while (re-search-forward org-property-re nil t) + (forward-line))) (defun org-msg-font-lock-make-header-matcher (regexp) "Create a function which look for REGEXP."