Commit 70621e25 authored by Noam Postavsky's avatar Noam Postavsky

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 ...)
parent ebdcfc29
......@@ -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)
:version "26.1")
(defcustom debugger-bury-or-kill 'bury
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment