Fix customization of debugger-print-function (Bug#29077)
* lisp/emacs-lisp/debug.el (debugger-print-function): The :options keyword has no effect for :type 'function, use :type '(choice ...) instead.
This commit is contained in:
parent
ebdcfc294d
commit
70621e2571
1 changed files with 3 additions and 2 deletions
|
@ -51,8 +51,9 @@ the middle is discarded, and just the beginning and end are displayed."
|
|||
|
||||
(defcustom debugger-print-function #'cl-prin1
|
||||
"Function used to print values in the debugger backtraces."
|
||||
:type 'function
|
||||
:options '(cl-prin1 prin1)
|
||||
:type '(choice (const cl-prin1)
|
||||
(const prin1)
|
||||
function)
|
||||
:version "26.1")
|
||||
|
||||
(defcustom debugger-bury-or-kill 'bury
|
||||
|
|
Loading…
Add table
Reference in a new issue