# HG changeset patch # User Chong Yidong # Date 1150842153 0 # Node ID 869cafeb828964fb351e7e176d288f509e7c0706 # Parent 901e09680d63ca1f626072bcbc4d2f8fde669636 * files.el (hack-local-variables): Run `hack-local-variables-hook' whether or not a local variables list is defined. diff -r 901e09680d63 -r 869cafeb8289 lisp/ChangeLog --- a/lisp/ChangeLog Tue Jun 20 19:30:36 2006 +0000 +++ b/lisp/ChangeLog Tue Jun 20 22:22:33 2006 +0000 @@ -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 -r 901e09680d63 -r 869cafeb8289 lisp/files.el --- a/lisp/files.el Tue Jun 20 19:30:36 2006 +0000 +++ b/lisp/files.el Tue Jun 20 22:22:33 2006 +0000 @@ -2665,8 +2665,8 @@ (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.