Mercurial > emacs
changeset 20784:80f0f0390eb6
(rmail): Reinsert the let-binding of enable-local-variables.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 27 Jan 1998 02:02:38 +0000 |
parents | bfc5d6ebba37 |
children | 17bcec31f3d4 |
files | lisp/mail/rmail.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/rmail.el Tue Jan 27 01:45:58 1998 +0000 +++ b/lisp/mail/rmail.el Tue Jan 27 02:02:38 1998 +0000 @@ -459,12 +459,14 @@ (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))