From: Richard M. Stallman Date: Tue, 27 Jan 1998 02:02:38 +0000 (+0000) Subject: (rmail): Reinsert the let-binding of enable-local-variables. X-Git-Tag: emacs-20.3~2290 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dab2fff990489062f2b34ee506eebc8c2058ff68;p=emacs.git (rmail): Reinsert the let-binding of enable-local-variables. --- 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))