diff options
author | Richard M. Stallman <rms@gnu.org> | 1998-01-27 02:02:38 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1998-01-27 02:02:38 +0000 |
commit | e46b494584d25a411a5365b91cdd25fd985a8b11 (patch) | |
tree | 157724938214b7102f6f15bd05f862891e1a7548 /lisp | |
parent | 7a127c29091ee5fdc15e43c7e1f6b21e29c77679 (diff) | |
download | emacs-e46b494584d25a411a5365b91cdd25fd985a8b11.tar.gz |
(rmail): Reinsert the let-binding of enable-local-variables.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mail/rmail.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index f2ecae58097..febdd3ce587 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -459,12 +459,14 @@ If `rmail-display-summary' is non-nil, make a summary for this RMAIL file." (progn ;; Don't be confused by apparent local-variables spec ;; in the last message in the RMAIL file. - (find-file file-name) + (let ((enable-local-variables nil)) + (find-file file-name)) (if (and (verify-visited-file-modtime existed) (eq major-mode 'rmail-mode)) (progn (rmail-forget-messages) (rmail-set-message-counters)))) - (find-file file-name)) + (let ((enable-local-variables nil)) + (find-file file-name))) (if (eq major-mode 'rmail-edit-mode) (error "Exit Rmail Edit mode before getting new mail")) (if (and existed (> (buffer-size) 0)) |