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:
Noam Postavsky 2017-11-01 08:51:35 -04:00
parent ebdcfc294d
commit 70621e2571

View file

@ -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