aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mail
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2001-04-27 13:00:42 +0000
committerGerd Moellmann <[email protected]>2001-04-27 13:00:42 +0000
commitb2b8f8fa96863d46ecade5af278c054de11d1b63 (patch)
treecb082b3648bfbcc1b50be96db4764db958275041 /lisp/mail
parent37526b42c1042b0b6193462c5a79aee0d0ce80a7 (diff)
(rmail-message-regexp-p): Don't match before
headers.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/rmail.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 8ff2800cda..5d5a1c494f 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -2509,11 +2509,12 @@ or forward if N is negative."
;; header, we didn't yet get past the EOOH line.
(if (looking-at "^\\*\\*\\* EOOH \\*\\*\\*\n")
(forward-line 1))
+ (setq beg (point))
(narrow-to-region (point) end))
(rfc822-goto-eoh)
+ (setq beg (point))
(search-forward "\n*** EOOH ***\n" end t))
- (narrow-to-region beg (point))
- (goto-char (point-min))
+ (goto-char beg)
(re-search-forward regexp end t)))))
(defvar rmail-search-last-regexp nil)