From: Chong Yidong <cyd@stupidchicken.com>
Cc: Dave Love <fx@gnu.org>, emacs-devel@gnu.org
Subject: Re: [gmane.emacs.sources] dir-locals.el
Date: Tue, 20 Jun 2006 08:36:08 -0400 [thread overview]
Message-ID: <87r71kt35z.fsf@stupidchicken.com> (raw)
In-Reply-To: <m31wtkw03x.fsf@kfs-l.imdomain.dk> (Kim F. Storm's message of "Tue, 20 Jun 2006 13:13:54 +0200")
storm@cua.dk (Kim F. Storm) writes:
> Before, hack-local-variables-hook was run unconditionally at the end
> of hack-local-variables, but now it is only run if the file has local
> variables.
>
> Is that change intentional or just an oversight?
It is an oversight. This little patch should fix it; I'll install it
over the next few days.
*** emacs/lisp/files.el.~1.844.~ 2006-06-12 23:38:23.000000000 -0400
--- emacs/lisp/files.el 2006-06-20 08:34:27.000000000 -0400
***************
*** 2635,2642 ****
(hack-local-variables-confirm
result unsafe-vars risky-vars))
(dolist (elt result)
! (hack-one-local-variable (car elt) (cdr elt))))))
! (run-hooks 'hack-local-variables-hook))))))
(defun safe-local-variable-p (sym val)
"Non-nil if SYM is safe as a file-local variable with value VAL.
--- 2635,2642 ----
(hack-local-variables-confirm
result unsafe-vars risky-vars))
(dolist (elt result)
! (hack-one-local-variable (car elt) (cdr elt)))))))
! (run-hooks 'hack-local-variables-hook)))))
(defun safe-local-variable-p (sym val)
"Non-nil if SYM is safe as a file-local variable with value VAL.
next prev parent reply other threads:[~2006-06-20 12:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-20 11:13 [gmane.emacs.sources] dir-locals.el (was: dirvars.el 1.3) Kim F. Storm
2006-06-20 12:36 ` Chong Yidong [this message]
2006-06-20 22:23 ` [gmane.emacs.sources] dir-locals.el Chong Yidong
2006-08-02 8:39 ` Masatake YAMATO
2006-08-02 21:20 ` Richard Stallman
2006-06-20 22:18 ` [gmane.emacs.sources] dir-locals.el (was: dirvars.el 1.3) Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r71kt35z.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=fx@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.