unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: emacs-devel@gnu.org
Cc: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: master dbe3e41: Don't try to eval local variables in Gnus article
Date: Mon, 19 Jun 2017 16:15:02 -0400	[thread overview]
Message-ID: <gubmpjzqd5.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <20170619021044.B8B5820DE6@vcs0.savannah.gnu.org> (Katsumi Yamaoka's message of "Sun, 18 Jun 2017 22:10:44 -0400 (EDT)")

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.



       reply	other threads:[~2017-06-19 20:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170619021043.362.89296@vcs0.savannah.gnu.org>
     [not found] ` <20170619021044.B8B5820DE6@vcs0.savannah.gnu.org>
2017-06-19 20:15   ` Glenn Morris [this message]
2017-06-19 23:40     ` master dbe3e41: Don't try to eval local variables in Gnus article Katsumi Yamaoka
2017-06-20  1:39       ` Katsumi Yamaoka
2017-06-20  2:18         ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gubmpjzqd5.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=yamaoka@jpl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).