# HG changeset patch # User Gerd Moellmann # Date 988376442 0 # Node ID 797a4ab5dbedb44d1f623bd1734efa4fb2c69517 # Parent b8ff923613661f0eb84350a9fa73feceb50021cc (rmail-message-regexp-p): Don't match before headers. diff -r b8ff92361366 -r 797a4ab5dbed lisp/mail/rmail.el --- a/lisp/mail/rmail.el Fri Apr 27 12:37:32 2001 +0000 +++ b/lisp/mail/rmail.el Fri Apr 27 13:00:42 2001 +0000 @@ -2509,11 +2509,12 @@ ;; 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)