diff options
Diffstat (limited to 'lisp/mail')
-rw-r--r-- | lisp/mail/rmail.el | 5 |
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) |