diff options
author | John Turner <jturner.usa@gmail.com> | 2023-04-01 23:24:08 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2023-04-01 23:24:08 -0400 |
commit | fc8686d3c8773c409cde247c7e611f5b2b4b947b (patch) | |
tree | 8929d1410533c000913cf5193c548fbaee5d3f0d /lisp/toggle-local-vars | |
parent | 7f1fc2f936fb66ae3720863432a0a8266a2e5003 (diff) | |
download | emacs.d-fc8686d3c8773c409cde247c7e611f5b2b4b947b.tar.gz |
created toggle-local-vars lisp script
Diffstat (limited to 'lisp/toggle-local-vars')
-rw-r--r-- | lisp/toggle-local-vars/toggle-local-vars.el | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lisp/toggle-local-vars/toggle-local-vars.el b/lisp/toggle-local-vars/toggle-local-vars.el new file mode 100644 index 0000000..a85c9ea --- /dev/null +++ b/lisp/toggle-local-vars/toggle-local-vars.el @@ -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) |