Improve documentation of 'edebug-print-*' variables
authorEli Zaretskii <eliz@gnu.org>
Sat, 16 Mar 2024 10:42:16 +0000 (12:42 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 16 Mar 2024 10:42:16 +0000 (12:42 +0200)
* lisp/emacs-lisp/edebug.el (edebug-print-length)
(edebug-print-level): Fix doc strings and customization labels.
Suggested by Matt Trzcinski <matt@excalamus.com>.  (Bug#69745)

lisp/emacs-lisp/edebug.el

index 9656bdf03d86068930396f855bcc52d4f559544a..623b1c6a8c992af908ad6a3a11aa526d8e715ca9 100644 (file)
@@ -193,11 +193,15 @@ Use this with caution since it is not debugged."
 
 
 (defcustom edebug-print-length 50
-  "If non-nil, default value of `print-length' for printing results in Edebug."
-  :type '(choice integer (const nil)))
+  "Maximum length of list to print before abbreviating, when in Edebug.
+If this is nil, use the value of `print-length' instead."
+  :type '(choice (integer :tag "A number")
+                 (const :tag "Use `print-length'" nil)))
 (defcustom edebug-print-level 50
-  "If non-nil, default value of `print-level' for printing results in Edebug."
-  :type '(choice integer (const nil)))
+  "Maximum depth of list nesting to print before abbreviating, when in Edebug.
+If nil, use the value of `print-level' instead."
+  :type '(choice (integer :tag "A number")
+                 (const :tag "Use `print-level'" nil)))
 (defcustom edebug-print-circle t
   "If non-nil, default value of `print-circle' for printing results in Edebug."
   :type 'boolean)