[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 70621e2: Fix customization of debugger-print-func
From: |
Noam Postavsky |
Subject: |
[Emacs-diffs] emacs-26 70621e2: Fix customization of debugger-print-function (Bug#29077) |
Date: |
Wed, 1 Nov 2017 09:22:05 -0400 (EDT) |
branch: emacs-26
commit 70621e25713b8158cc386a70247f63106df3712c
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
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.
---
lisp/emacs-lisp/debug.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el
index 6c75461..e1b87b5 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 70621e2: Fix customization of debugger-print-function (Bug#29077),
Noam Postavsky <=