aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-01-27 02:02:38 +0000
committerRichard M. Stallman1998-01-27 02:02:38 +0000
commitdab2fff990489062f2b34ee506eebc8c2058ff68 (patch)
tree129c5a3c3e2967004b1feda8d477ee372829ff62
parent84ee60480316e89416eda2ee8b7d200dd2302809 (diff)
downloademacs-dab2fff990489062f2b34ee506eebc8c2058ff68.tar.gz
emacs-dab2fff990489062f2b34ee506eebc8c2058ff68.zip
(rmail): Reinsert the let-binding of enable-local-variables.
-rw-r--r--lisp/mail/rmail.el6
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."
459 (progn 459 (progn
460 ;; Don't be confused by apparent local-variables spec 460 ;; Don't be confused by apparent local-variables spec
461 ;; in the last message in the RMAIL file. 461 ;; in the last message in the RMAIL file.
462 (find-file file-name) 462 (let ((enable-local-variables nil))
463 (find-file file-name))
463 (if (and (verify-visited-file-modtime existed) 464 (if (and (verify-visited-file-modtime existed)
464 (eq major-mode 'rmail-mode)) 465 (eq major-mode 'rmail-mode))
465 (progn (rmail-forget-messages) 466 (progn (rmail-forget-messages)
466 (rmail-set-message-counters)))) 467 (rmail-set-message-counters))))
467 (find-file file-name)) 468 (let ((enable-local-variables nil))
469 (find-file file-name)))
468 (if (eq major-mode 'rmail-edit-mode) 470 (if (eq major-mode 'rmail-edit-mode)
469 (error "Exit Rmail Edit mode before getting new mail")) 471 (error "Exit Rmail Edit mode before getting new mail"))
470 (if (and existed (> (buffer-size) 0)) 472 (if (and existed (> (buffer-size) 0))