Commit a548f3d7 authored by Chong Yidong's avatar Chong Yidong
Browse files

* files.el (hack-local-variables): Run `hack-local-variables-hook'

	whether or not a local variables list is defined.
parent 3c6b81d8
......@@ -13,6 +13,9 @@
 
2006-06-20 Chong Yidong <cyd@stupidchicken.com>
 
* 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'.
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment