]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve documentation of 'edebug-print-*' variables
authorEli Zaretskii <eliz@gnu.org>
Sat, 16 Mar 2024 10:42:16 +0000 (12:42 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 24 Mar 2024 14:08:48 +0000 (15:08 +0100)
* 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)

(cherry picked from commit d5901f3f05e0aec9bf4b6b4b6ebf27c66c7cee14)

lisp/emacs-lisp/edebug.el

index 6555e1697d35061e38158173a7792808a8e18a4b..3dba59bedc6285058ad0c69d149fd969c299f154 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)