* lisp/emacs-lisp/cl-print.el (cl-print-compiled-button): t by default.
* lisp/emacs-lisp/debug.el (debugger-insert-backtrace): * lisp/help-fns.el (describe-variable): No need to let-bind `cl-print-compiled-button' to t anymore.
This commit is contained in:
parent
34d4720f83
commit
9a65b57796
3 changed files with 2 additions and 8 deletions
|
@ -90,7 +90,7 @@ call other entry points instead, such as `cl-prin1'."
|
|||
- `disassemble' to print the disassembly of the code.
|
||||
- nil to skip printing any details about the code.")
|
||||
|
||||
(defvar cl-print-compiled-button nil
|
||||
(defvar cl-print-compiled-button t
|
||||
"Control how to print byte-compiled functions into buffers.
|
||||
When the stream is a buffer, make the bytecode part of the output
|
||||
into a button whose action shows the function's disassembly.")
|
||||
|
|
|
@ -271,13 +271,10 @@ first will be printed into the backtrace buffer."
|
|||
debugger-value)))
|
||||
|
||||
|
||||
(defvar cl-print-compiled-button)
|
||||
|
||||
(defun debugger-insert-backtrace (frames do-xrefs)
|
||||
"Format and insert the backtrace FRAMES at point.
|
||||
Make functions into cross-reference buttons if DO-XREFS is non-nil."
|
||||
(let ((standard-output (current-buffer))
|
||||
(cl-print-compiled-button t)
|
||||
(eval-buffers eval-buffer-list))
|
||||
(require 'help-mode) ; Define `help-function-def' button type.
|
||||
(pcase-dolist (`(,evald ,fun ,args ,flags) frames)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue