summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbd <bdunahu@colostate.edu>2024-03-29 19:36:42 -0600
committerbd <bdunahu@colostate.edu>2024-03-29 19:36:42 -0600
commita8ef60882ffa50456cca3d07e09851ceed2a5e8d (patch)
treed1125e37b5fb9a34aa20a5d0c92e0a57afaefb71
parentea30b51f2b09e4055a15ea98656e2afa1101414c (diff)
Minor fix to autoformat-do-untabify variable (file-local)
-rw-r--r--.config/emacs/libraries/autoformat.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/emacs/libraries/autoformat.el b/.config/emacs/libraries/autoformat.el
index 99cd09f..f10b4fc 100644
--- a/.config/emacs/libraries/autoformat.el
+++ b/.config/emacs/libraries/autoformat.el
@@ -6,9 +6,11 @@ with spaces upon saving a file. Else, the function greedily replaces
spaces with tabs."
:type 'boolean
:group 'quality
- :safe t)
+ :safe 'booleanp)
(defun autoformat-toggle-space-rule (&optional ARG)
+ "Toggles the formatting behavior of variable
+`autoformat-do-untabify'."
(interactive (list 'toggle))
(setq autoformat-do-untabify
(if (eq ARG 'toggle)