summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/edebug.el
diff options
context:
space:
mode:
authorStephen Berman <stephen.berman@gmx.net>2018-11-19 23:12:52 +0100
committerStephen Berman <stephen.berman@gmx.net>2018-11-19 23:12:52 +0100
commitd667318a7f89a9daeffca6fb47503889bd23f3bd (patch)
tree69ae72674e686adfb7516629341026120bb784ee /lisp/emacs-lisp/edebug.el
parentb8b42c23151298565e4354b38d7060e91465daed (diff)
downloademacs-d667318a7f89a9daeffca6fb47503889bd23f3bd.tar.gz
Fix two Edebug defcustoms (bug#33428)
* lisp/emacs-lisp/edebug.el (edebug-print-length) (edebug-print-level): Fix customization type to allow setting the documented valid value nil via the Customize interface.
Diffstat (limited to 'lisp/emacs-lisp/edebug.el')
-rw-r--r--lisp/emacs-lisp/edebug.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index 7e4d244f5e2..939b3b82eae 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -191,11 +191,11 @@ 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 'integer
+ :type '(choice integer (const nil))
:group 'edebug)
(defcustom edebug-print-level 50
"If non-nil, default value of `print-level' for printing results in Edebug."
- :type 'integer
+ :type '(choice integer (const nil))
:group 'edebug)
(defcustom edebug-print-circle t
"If non-nil, default value of `print-circle' for printing results in Edebug."