|
|
@ -8,4 +8,15 @@
|
|
|
|
(setq enable-local-variables nil)
|
|
|
|
(setq enable-local-variables nil)
|
|
|
|
(message "disabled local variables"))
|
|
|
|
(message "disabled local variables"))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(defun toggle-remote-local-vars-on ()
|
|
|
|
|
|
|
|
(interactive)
|
|
|
|
|
|
|
|
(setq enable-remote-dir-locals t
|
|
|
|
|
|
|
|
enable-local-variables t)
|
|
|
|
|
|
|
|
(message "enabled local variables"))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(defun toggle-remote-local-vars-off ()
|
|
|
|
|
|
|
|
(interactive)
|
|
|
|
|
|
|
|
(setq enable-remote-dir-locals nil)
|
|
|
|
|
|
|
|
(message "disabled local variables"))
|
|
|
|
|
|
|
|
|
|
|
|
(provide 'toggle-local-vars)
|
|
|
|
(provide 'toggle-local-vars)
|
|
|
|