]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-message-subject-p):
authorRichard M. Stallman <rms@gnu.org>
Sun, 1 Nov 1998 18:55:11 +0000 (18:55 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 1 Nov 1998 18:55:11 +0000 (18:55 +0000)
Handle message whose header has not been reformatted.

lisp/mail/rmailsum.el

index df01543f2d1deed1245c00196a142f786c4efd87..42cdbbb384f206a744b3bd7f3013bc95d89b5b31 100644 (file)
@@ -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)))