diff options
author | Noam Postavsky <npostavs@gmail.com> | 2017-11-01 08:51:35 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-11-01 08:54:02 -0400 |
commit | 70621e25713b8158cc386a70247f63106df3712c (patch) | |
tree | 11b965a3867ec48f507be6c3472a104029f616a7 /lisp/emacs-lisp/debug.el | |
parent | ebdcfc294d1a57c67d6216854f7eac4553c8bd95 (diff) | |
download | emacs-70621e25713b8158cc386a70247f63106df3712c.tar.gz emacs-70621e25713b8158cc386a70247f63106df3712c.tar.bz2 emacs-70621e25713b8158cc386a70247f63106df3712c.zip |
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.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
-rw-r--r-- | lisp/emacs-lisp/debug.el | 5 |
1 files changed, 3 insertions, 2 deletions
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 |