From a8ef60882ffa50456cca3d07e09851ceed2a5e8d Mon Sep 17 00:00:00 2001 From: bd Date: Fri, 29 Mar 2024 19:36:42 -0600 Subject: Minor fix to autoformat-do-untabify variable (file-local) --- .config/emacs/libraries/autoformat.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3