aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2007-05-24 20:18:14 +0000
committerMiles Bader2007-05-24 20:18:14 +0000
commita02a3c235e3ec24acaf2014e6c60c0b4138ff86f (patch)
tree7a0e8cff5087c2443d7bd93c4a4ea9376419e685
parentdff1336c122f3605a9437ecdfd0c50c5381872f9 (diff)
downloademacs-a02a3c235e3ec24acaf2014e6c60c0b4138ff86f.tar.gz
emacs-a02a3c235e3ec24acaf2014e6c60c0b4138ff86f.zip
Merge from gnus--rel--5.10
Patches applied: * gnus--rel--5.10 (patch 222-223) - Update from CVS 2007-05-24 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/message.el (message-narrow-to-headers-or-head): Ignore mail-header-separator in the body. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-768
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/message.el14
2 files changed, 11 insertions, 8 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index e605ed51193..9f4df39957f 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12007-05-24 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * message.el (message-narrow-to-headers-or-head): Ignore
4 mail-header-separator in the body.
5
12007-05-10 Reiner Steib <Reiner.Steib@gmx.de> 62007-05-10 Reiner Steib <Reiner.Steib@gmx.de>
2 7
3 * gnus-art.el (gnus-article-mode): Fix comment about displaying 8 * gnus-art.el (gnus-article-mode): Fix comment about displaying
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index baf98611308..432bd69b67f 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -2225,14 +2225,12 @@ Point is left at the beginning of the narrowed-to region."
2225 (widen) 2225 (widen)
2226 (narrow-to-region 2226 (narrow-to-region
2227 (goto-char (point-min)) 2227 (goto-char (point-min))
2228 (cond 2228 (if (re-search-forward (concat "\\(\n\\)\n\\|^\\("
2229 ((re-search-forward 2229 (regexp-quote mail-header-separator)
2230 (concat "^" (regexp-quote mail-header-separator) "\n") nil t) 2230 "\n\\)")
2231 (match-beginning 0)) 2231 nil t)
2232 ((search-forward "\n\n" nil t) 2232 (or (match-end 1) (match-beginning 2))
2233 (1- (point))) 2233 (point-max)))
2234 (t
2235 (point-max))))
2236 (goto-char (point-min))) 2234 (goto-char (point-min)))
2237 2235
2238(defun message-news-p () 2236(defun message-news-p ()