created toggle-local-vars lisp script

master
John Turner 2 years ago
parent 7f1fc2f936
commit fc8686d3c8
No known key found for this signature in database
GPG Key ID: 422FE10CC41A94A2

@ -47,6 +47,8 @@
(require 'license-boilerplate)
(require 'toggle-local-vars)
(when (file-exists-p custom-file)
(load custom-file))

@ -0,0 +1,11 @@
(defun toggle-local-vars-on ()
(interactive)
(setq enable-local-variables t)
(message "enabled local variables"))
(defun toggle-local-vars-off ()
(interactive)
(setq enable-local-variables nil)
(message "disabled local variables"))
(provide 'toggle-local-vars)
Loading…
Cancel
Save