created toggle-local-vars lisp script
parent
7f1fc2f936
commit
fc8686d3c8
@ -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…
Reference in New Issue