aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2006-06-20 22:22:33 +0000
committerChong Yidong2006-06-20 22:22:33 +0000
commita548f3d70aa278c79a3801e48d355a3318a40869 (patch)
treecf82d4bfac52a3030eaae1c3892b02c5f17a3d28
parent3c6b81d8713cffb7c387e5dc660eae4d3be0368f (diff)
downloademacs-a548f3d70aa278c79a3801e48d355a3318a40869.tar.gz
emacs-a548f3d70aa278c79a3801e48d355a3318a40869.zip
* files.el (hack-local-variables): Run `hack-local-variables-hook'
whether or not a local variables list is defined.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/files.el4
2 files changed, 5 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c3621a356b2..60f89b8a4b2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -13,6 +13,9 @@
13 13
142006-06-20 Chong Yidong <cyd@stupidchicken.com> 142006-06-20 Chong Yidong <cyd@stupidchicken.com>
15 15
16 * files.el (hack-local-variables): Run `hack-local-variables-hook'
17 whether or not a local variables list is defined.
18
16 * msb.el (msb): Move `sit-for' hack here to handle both 19 * msb.el (msb): Move `sit-for' hack here to handle both
17 "mouse-down and drag" and "mouse-up and select" situations. 20 "mouse-down and drag" and "mouse-up and select" situations.
18 (mouse-select-buffer): Move `sit-for' hack to `msb'. 21 (mouse-select-buffer): Move `sit-for' hack to `msb'.
diff --git a/lisp/files.el b/lisp/files.el
index 8a5a331da71..659b34640c4 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2665,8 +2665,8 @@ is specified, returning t if it is specified."
2665 (hack-local-variables-confirm 2665 (hack-local-variables-confirm
2666 result unsafe-vars risky-vars)) 2666 result unsafe-vars risky-vars))
2667 (dolist (elt result) 2667 (dolist (elt result)
2668 (hack-one-local-variable (car elt) (cdr elt)))))) 2668 (hack-one-local-variable (car elt) (cdr elt)))))))
2669 (run-hooks 'hack-local-variables-hook)))))) 2669 (run-hooks 'hack-local-variables-hook)))))
2670 2670
2671(defun safe-local-variable-p (sym val) 2671(defun safe-local-variable-p (sym val)
2672 "Non-nil if SYM is safe as a file-local variable with value VAL. 2672 "Non-nil if SYM is safe as a file-local variable with value VAL.