From: Lucas Werkmeister Date: Sat, 5 Sep 2020 14:54:45 +0000 (+0200) Subject: Mark sgml-basic-offset as safe for integers X-Git-Tag: emacs-28.0.90~6236 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=60e3353697efb00afd084d45dba41adcafc388f9;p=emacs.git Mark sgml-basic-offset as safe for integers * lisp/textmodes/sgml-mode.el (sgml-basic-offset): Add :safe. (Bug#43215) --- diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index 1672dce4f23..04f1dddf5fc 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el @@ -46,7 +46,8 @@ (defcustom sgml-basic-offset 2 "Specifies the basic indentation level for `sgml-indent-line'." - :type 'integer) + :type 'integer + :safe #'integerp) (defcustom sgml-attribute-offset 0 "Specifies a delta for attribute indentation in `sgml-indent-line'.