Mercurial > emacs
changeset 97136:1aea5b713a31
* files.el (normal-mode): Move call to hack-project-variables into
hack-local-variables.
(file-local-variables-alist, before-hack-local-variables-hook):
New vars.
(ignored-local-variables): Add file-local-variables-alist.
(hack-local-variables-filter): Renamed from
hack-local-variables-apply. Add the result to
file-local-variables-alist, without applying them.
(hack-local-variables): Set file-local-variables-alist to nil.
Call hack-project-variables and before-hack-local-variables-hook.
Apply variables here, instead of hack-local-variables-apply.
Based on a patch by Alan Mackenzie.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 31 Jul 2008 01:22:29 +0000 |
parents | 09abb4487286 |
children | c33982d8abdc |
files | lisp/ChangeLog |
diffstat | 1 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Wed Jul 30 21:45:35 2008 +0000 +++ b/lisp/ChangeLog Thu Jul 31 01:22:29 2008 +0000 @@ -1,3 +1,18 @@ +2008-07-31 Chong Yidong <cyd@stupidchicken.com> + + * files.el (normal-mode): Move call to hack-project-variables into + hack-local-variables. + (file-local-variables-alist, before-hack-local-variables-hook): + New vars. + (ignored-local-variables): Add file-local-variables-alist. + (hack-local-variables-filter): Renamed from + hack-local-variables-apply. Add the result to + file-local-variables-alist, without applying them. + (hack-local-variables): Set file-local-variables-alist to nil. + Call hack-project-variables and before-hack-local-variables-hook. + Apply variables here, instead of hack-local-variables-apply. + Based on a patch by Alan Mackenzie. + 2008-07-30 Thien-Thi Nguyen <ttn@gnuvola.org> * info-look.el (autoconf-mode :doc-spec): For