Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
12033e9a
Commit
12033e9a
authored
Apr 16, 1997
by
Richard M. Stallman
Browse files
(hilit-rehighlight-message): Respect mail-mode header/body separation line.
parent
dec137e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lisp/hilit19.el
lisp/hilit19.el
+3
-1
No files found.
lisp/hilit19.el
View file @
12033e9a
...
...
@@ -786,7 +786,9 @@ non-nil."
"Highlight a buffer containing a news article or mail message."
(
save-excursion
(
goto-char
(
point-min
))
(
re-search-forward
"^$"
nil
'noerr
)
;; find separation between headers and body (either a blank line or
;; the message separator line in mail-mode)
(
re-search-forward
"^\\(\\|--text follows this line--\\)$"
nil
'noerr
)
(
hilit-unhighlight-region
(
point-min
)
(
point-max
)
quietly
)
(
hilit-highlight-region
(
point-min
)
(
point
)
'msg-header
quietly
)
(
hilit-highlight-region
(
point
)
(
point-max
)
'msg-body
quietly
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment