Commit 711f4590 authored by Glenn Morris's avatar Glenn Morris
Browse files

* test/automated/files.el (files-test-disable-local-variables): New test.

parent 23c726f6
2012-08-10 Glenn Morris <>
* automated/files.el (files-test-disable-local-variables): New test.
2012-08-08 Glenn Morris <>
* automated/files.el: New file.
......@@ -38,4 +38,15 @@
(should (eq files-test-var1 nil)))))
(ert-deftest files-test-disable-local-variables ()
"Test that setting enable-local-variables to nil works."
(insert "text\n"
";; Local Variables:\n"
";; files-test-var1: t\n"
";; End:\n")
(let ((enable-local-variables nil))
(should (eq files-test-var1 nil)))))
;;; files.el ends here
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