master d7b070b74c5: ; * lisp/mail/rmail.el (rmail): Clarify comment (bug#81368).

Eli Zaretskii <[email protected]> Wed, 8 Jul 2026 11:54:14 -0400 (EDT)
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: master
commit d7b070b74c5f0f34cf2298e218c1701d52e35c7a
Author: Paul Nelson <[email protected]>
Commit: Eli Zaretskii <[email protected]>

    ; * lisp/mail/rmail.el (rmail): Clarify comment (bug#81368).
---
 lisp/mail/rmail.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index fcc6a8b89e2..f7770b047b9 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -903,8 +903,8 @@ If `rmail-display-summary' is non-nil, make a summary for this RMAIL file."
       ;; The mail file is either unchanged or not visited.  Visit it.
       (switch-to-buffer
        (let ((enable-local-variables nil)
-             ;; Prevent recursive invocation of 'rmail' via
-             ;; 'auto-mode-alist'.
+             ;; Avoid entering 'rmail-mode' via 'auto-mode-alist';
+             ;; 'rmail' does its own setup after visiting the file.
 	     (auto-mode-alist nil)
 	     ;; Force no-conversion by default, since that's what
 	     ;; pre-mbox Rmail did with BABYL files (via