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
d05b3cfd
Commit
d05b3cfd
authored
May 28, 2007
by
Chong Yidong
Browse files
(message-narrow-to-headers-or-head): Ignore mail-header-separator in
the body.
parent
3938661c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
lisp/gnus/message.el
lisp/gnus/message.el
+6
-8
No files found.
lisp/gnus/message.el
View file @
d05b3cfd
...
...
@@ -2225,14 +2225,12 @@ Point is left at the beginning of the narrowed-to region."
(widen)
(narrow-to-region
(goto-char (point-min))
(cond
((re-search-forward
(concat "^" (regexp-quote mail-header-separator) "\n") nil t)
(match-beginning 0))
((search-forward "\n\n" nil t)
(1- (point)))
(t
(point-max))))
(if (re-search-forward (concat "
\\
(
\n\\
)
\n\\|^\\("
(regexp-quote mail-header-separator)
"\n\\)")
nil t)
(or (match-end 1) (match-beginning 2))
(point-max)))
(goto-char (point-min)))
(defun message-news-p ()
...
...
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