Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make go-to-body ignore the signature #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions org-msg.el
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down