unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43215: [PATCH] Mark sgml-basic-offset as safe for integers
@ 2020-09-05  9:44 Lucas Werkmeister
       [not found] ` <handler.43215.B.159929910128536.ack@debbugs.gnu.org>
  2020-09-05 10:42 ` bug#43215: [PATCH] Mark sgml-basic-offset as safe for integers Stefan Kangas
  0 siblings, 2 replies; 5+ messages in thread
From: Lucas Werkmeister @ 2020-09-05  9:44 UTC (permalink / raw)
  To: 43215; +Cc: Lucas Werkmeister

* lisp/textmodes/sgml-mode.el (sgml-basic-offset): Add :safe.
---
 lisp/textmodes/sgml-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 1672dce4f2..04f1dddf5f 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -46,7 +46,8 @@ sgml
 
 (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'.
-- 
2.28.0






^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-05 15:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-05  9:44 bug#43215: [PATCH] Mark sgml-basic-offset as safe for integers Lucas Werkmeister
     [not found] ` <handler.43215.B.159929910128536.ack@debbugs.gnu.org>
2020-09-05  9:55   ` bug#43215: Acknowledgement ([PATCH] Mark sgml-basic-offset as safe for integers) Lucas Werkmeister
2020-09-05 10:42 ` bug#43215: [PATCH] Mark sgml-basic-offset as safe for integers Stefan Kangas
2020-09-05 13:11   ` Lucas Werkmeister
2020-09-05 15:03     ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).