Don't try to eval local variables in Gnus article
* lisp/gnus/mm-view.el (mm-display-inline-fontify): Disable local vars.
This commit is contained in:
parent
1b75af59b3
commit
dbe3e416af
1 changed files with 2 additions and 1 deletions
|
@ -488,7 +488,8 @@ If MODE is not set, try to find mode automatically."
|
||||||
(funcall mode))
|
(funcall mode))
|
||||||
(let ((auto-mode-alist
|
(let ((auto-mode-alist
|
||||||
(delq (rassq 'doc-view-mode-maybe 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)))
|
(set-auto-mode)))
|
||||||
;; The mode function might have already turned on font-lock.
|
;; The mode function might have already turned on font-lock.
|
||||||
;; Do not fontify if the guess mode is fundamental.
|
;; Do not fontify if the guess mode is fundamental.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue