[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master dbe3e41: Don't try to eval local variables in Gnus article
From: |
Glenn Morris |
Subject: |
Re: master dbe3e41: Don't try to eval local variables in Gnus article |
Date: |
Mon, 19 Jun 2017 16:15:02 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Katsumi Yamaoka wrote:
> branch: master
> commit dbe3e416af5d845dc774341eb66971ab1a72983b
[...]
> diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el
> index dd64bfe..4276f9e 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))
Hi - local-enable-local-variables, as opposed to enable-local-variables,
is seldom used. Do you really need the former here? I see
mm-display-inline-fontify already binds enable-local-variables to nil.
See comments at definition of local-enable-local-variables in files.el.
- Re: master dbe3e41: Don't try to eval local variables in Gnus article,
Glenn Morris <=