1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

lisp/emacs-lisp/smie.el (smie-indent-basic): Add safety predicate

This commit is contained in:
Stefan Monnier 2025-11-17 08:51:56 -05:00
parent 1668290c9d
commit 6c770f8624

View file

@ -1140,7 +1140,8 @@ OPENER is non-nil if TOKEN is an opener and nil if it's a closer."
(defcustom smie-indent-basic 4
"Basic amount of indentation."
:type 'integer)
:type 'integer
:safe #'integerp)
(defvar smie-rules-function #'ignore
"Function providing the indentation rules.