summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-11-01 18:55:11 +0000
committerRichard M. Stallman <rms@gnu.org>1998-11-01 18:55:11 +0000
commit10a0a250311af5db5ba4fd27f7c8344dc67b5b93 (patch)
treec82539a0da443eb3625325672aabc46797039ce6 /lisp
parent2e3329a5371dfd2ca761a438f7b228162d42f319 (diff)
downloademacs-10a0a250311af5db5ba4fd27f7c8344dc67b5b93.tar.gz
(rmail-message-subject-p):
Handle message whose header has not been reformatted.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mail/rmailsum.el2
1 files changed, 1 insertions, 1 deletions
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)))