aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mail
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1998-01-27 02:02:38 +0000
committerRichard M. Stallman <[email protected]>1998-01-27 02:02:38 +0000
commitdab2fff990489062f2b34ee506eebc8c2058ff68 (patch)
tree129c5a3c3e2967004b1feda8d477ee372829ff62 /lisp/mail
parent84ee60480316e89416eda2ee8b7d200dd2302809 (diff)
(rmail): Reinsert the let-binding of enable-local-variables.
Diffstat (limited to 'lisp/mail')
-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 f2ecae5809..febdd3ce58 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))