changeset 23612:61519017b94a

(rmail-message-subject-p): Handle message whose header has not been reformatted.
author Richard M. Stallman <rms@gnu.org>
date Sun, 01 Nov 1998 18:55:11 +0000
parents 4c8718a0fb85
children d2bbcd0b95c9
files lisp/mail/rmailsum.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmailsum.el	Sun Nov 01 18:17:40 1998 +0000
+++ b/lisp/mail/rmailsum.el	Sun Nov 01 18:55:11 1998 +0000
@@ -131,7 +131,7 @@
 (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)))