unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* bind print-integers-as-characters to t in `describe-variable'?
@ 2024-05-15  9:33 Robert Pluim
  2024-05-15 10:13 ` Mattias Engdegård
  2024-05-15 11:55 ` Eli Zaretskii
  0 siblings, 2 replies; 10+ messages in thread
From: Robert Pluim @ 2024-05-15  9:33 UTC (permalink / raw)
  To: emacs-devel

It makes the display of eg `electric-quote-chars' much more readable

Robert
-- 

diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 182b22549b5..2d85dac22de 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -1349,7 +1349,8 @@ describe-variable
 		      (print-rep
 		       (let ((rep
 			      (let ((print-quoted t)
-                                    (print-circle t))
+                                    (print-circle t)
+                                    (print-integers-as-characters t))
                                 (cl-prin1-to-string val))))
                          (if (and (symbolp val) (not (booleanp val)))
 			     (format-message "`%s'" rep)



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

end of thread, other threads:[~2024-05-16 11:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-15  9:33 bind print-integers-as-characters to t in `describe-variable'? Robert Pluim
2024-05-15 10:13 ` Mattias Engdegård
2024-05-15 11:56   ` Eli Zaretskii
2024-05-16  5:46     ` Philip Kaludercic
2024-05-16  8:45       ` Eli Zaretskii
2024-05-16  9:05         ` Philip Kaludercic
2024-05-16 11:58           ` Eli Zaretskii
2024-05-16  9:08         ` Robert Pluim
2024-05-15 12:32   ` Robert Pluim
2024-05-15 11:55 ` Eli Zaretskii

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).