]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-show-message): If an unseen message has a
authorRichard M. Stallman <rms@gnu.org>
Tue, 16 Feb 1999 01:05:33 +0000 (01:05 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 16 Feb 1999 01:05:33 +0000 (01:05 +0000)
Summary-line in its header, get past one more line before looking
for the X-Coding-System header.

lisp/mail/rmail.el

index 8cb138b6f2dfcd989488809979fdbcd8e444ad40..1ca210efd894ae64794b448612128cc08d7757cc 100644 (file)
@@ -2189,6 +2189,10 @@ If summary buffer is currently displayed, update current message there also."
            (save-restriction
              (if (prog1 (= (following-char) ?0)
                    (forward-line 2)
+                   ;; If there's a Summary-line in the (otherwise empty)
+                   ;; header, we didn't yet get past the EOOH line.
+                   (if (looking-at "^\\*\\*\\* EOOH \\*\\*\\*\n")
+                       (forward-line 1))
                    (narrow-to-region (point) end))
                  (rfc822-goto-eoh)
                (search-forward "\n*** EOOH ***\n" end t))