From: Chong Yidong Date: Tue, 20 Jun 2006 22:22:33 +0000 (+0000) Subject: * files.el (hack-local-variables): Run `hack-local-variables-hook' X-Git-Tag: emacs-pretest-22.0.90~1900 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a548f3d70aa278c79a3801e48d355a3318a40869;p=emacs.git * files.el (hack-local-variables): Run `hack-local-variables-hook' whether or not a local variables list is defined. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c3621a356b2..60f89b8a4b2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -13,6 +13,9 @@ 2006-06-20 Chong Yidong + * files.el (hack-local-variables): Run `hack-local-variables-hook' + whether or not a local variables list is defined. + * msb.el (msb): Move `sit-for' hack here to handle both "mouse-down and drag" and "mouse-up and select" situations. (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." (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)))))) + (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.