From: Richard M. Stallman Date: Sun, 1 Nov 1998 18:55:11 +0000 (+0000) Subject: (rmail-message-subject-p): X-Git-Tag: emacs-20.4~1337 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=10a0a250311af5db5ba4fd27f7c8344dc67b5b93;p=emacs.git (rmail-message-subject-p): Handle message whose header has not been reformatted. --- diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index df01543f2d1..42cdbbb384f 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el @@ -131,7 +131,7 @@ SUBJECT is a string of regexps separated by commas." (defun rmail-message-subject-p (msg subject &optional whole-message) (save-restriction (goto-char (rmail-msgbeg msg)) - (search-forward "\n*** EOOH ***\n") + (search-forward "\n*** EOOH ***\n" (rmail-msgend msg) 'move) (narrow-to-region (point) (progn (search-forward (if whole-message "\^_" "\n\n")) (point)))