Commit 2837b9df authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(hack-local-variables-prop-line): Bind enable-local-eval.

parent c1b1350b
......@@ -1250,9 +1250,10 @@ If `enable-local-variables' is nil, this function does not check for a
(switch-to-buffer-other-frame (current-buffer))))))
(y-or-n-p (format "Set local variables as specified in -*- line of %s? "
(file-name-nondirectory buffer-file-name)))))))
(while result
(hack-one-local-variable (car (car result)) (cdr (car result)))
(setq result (cdr result)))))))
(let ((enable-local-eval enable-local-eval))
(while result
(hack-one-local-variable (car (car result)) (cdr (car result)))
(setq result (cdr result))))))))
(defvar hack-local-variables-hook nil
"Normal hook run after processing a file's local variables specs.
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