]> git.eshelyaron.com Git - emacs.git/commitdiff
* files.el (hack-local-variables): Run `hack-local-variables-hook'
authorChong Yidong <cyd@stupidchicken.com>
Tue, 20 Jun 2006 22:22:33 +0000 (22:22 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 20 Jun 2006 22:22:33 +0000 (22:22 +0000)
whether or not a local variables list is defined.

lisp/ChangeLog
lisp/files.el

index c3621a356b2e3d6d1474b3bfe5c6aabd69e9d354..60f89b8a4b2b5dc3535f50d2205a7d6935983273 100644 (file)
@@ -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'.
index 8a5a331da7170b1a641f809842efdc8db8b70217..659b34640c4f588327df128f615c8402dceca97f 100644 (file)
@@ -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.