1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

(rmail): Reinsert the let-binding of enable-local-variables.

This commit is contained in:
Richard M. Stallman 1998-01-27 02:02:38 +00:00
parent 84ee604803
commit dab2fff990

View File

@ -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))