From: Noam Postavsky Date: Wed, 1 Nov 2017 12:51:35 +0000 (-0400) Subject: Fix customization of debugger-print-function (Bug#29077) X-Git-Tag: emacs-26.0.91~420 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=70621e25713b8158cc386a70247f63106df3712c;p=emacs.git 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. --- diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index 6c754615b00..e1b87b5c6e2 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el @@ -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