From: Katsumi Yamaoka Date: Mon, 19 Jun 2017 02:10:22 +0000 (+0000) Subject: Don't try to eval local variables in Gnus article X-Git-Tag: emacs-26.0.90~521^2~42 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dbe3e416af5d845dc774341eb66971ab1a72983b;p=emacs.git Don't try to eval local variables in Gnus article * lisp/gnus/mm-view.el (mm-display-inline-fontify): Disable local vars. --- diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el index dd64bfed60a..4276f9e9a43 100644 --- a/lisp/gnus/mm-view.el +++ b/lisp/gnus/mm-view.el @@ -488,7 +488,8 @@ If MODE is not set, try to find mode automatically." (funcall mode)) (let ((auto-mode-alist (delq (rassq 'doc-view-mode-maybe auto-mode-alist) - (copy-sequence auto-mode-alist)))) + (copy-sequence auto-mode-alist))) + (local-enable-local-variables nil)) (set-auto-mode))) ;; The mode function might have already turned on font-lock. ;; Do not fontify if the guess mode is fundamental.