aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-04-27 13:00:42 +0000
committerGerd Moellmann2001-04-27 13:00:42 +0000
commitb2b8f8fa96863d46ecade5af278c054de11d1b63 (patch)
treecb082b3648bfbcc1b50be96db4764db958275041
parent37526b42c1042b0b6193462c5a79aee0d0ce80a7 (diff)
downloademacs-b2b8f8fa96863d46ecade5af278c054de11d1b63.tar.gz
emacs-b2b8f8fa96863d46ecade5af278c054de11d1b63.zip
(rmail-message-regexp-p): Don't match before
headers.
-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 8ff2800cda6..5d5a1c494f2 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -2509,11 +2509,12 @@ or forward if N is negative."
2509 ;; header, we didn't yet get past the EOOH line. 2509 ;; header, we didn't yet get past the EOOH line.
2510 (if (looking-at "^\\*\\*\\* EOOH \\*\\*\\*\n") 2510 (if (looking-at "^\\*\\*\\* EOOH \\*\\*\\*\n")
2511 (forward-line 1)) 2511 (forward-line 1))
2512 (setq beg (point))
2512 (narrow-to-region (point) end)) 2513 (narrow-to-region (point) end))
2513 (rfc822-goto-eoh) 2514 (rfc822-goto-eoh)
2515 (setq beg (point))
2514 (search-forward "\n*** EOOH ***\n" end t)) 2516 (search-forward "\n*** EOOH ***\n" end t))
2515 (narrow-to-region beg (point)) 2517 (goto-char beg)
2516 (goto-char (point-min))
2517 (re-search-forward regexp end t))))) 2518 (re-search-forward regexp end t)))))
2518 2519
2519(defvar rmail-search-last-regexp nil) 2520(defvar rmail-search-last-regexp nil)