diff options
author | Gemini Lasswell <gazally@runbox.com> | 2018-06-22 12:53:37 -0700 |
---|---|---|
committer | Gemini Lasswell <gazally@runbox.com> | 2018-08-03 08:53:02 -0700 |
commit | d6b364edfe582be24cb54693c5aaf52c0add22d5 (patch) | |
tree | bfcbeed807338df808b7079626761db81b812f36 /test/lisp/emacs-lisp/cl-tests.el | |
parent | 5b50fa5a9d4f7c032a845bc0152c11b70ee1bf53 (diff) | |
download | emacs-d6b364edfe582be24cb54693c5aaf52c0add22d5.tar.gz emacs-d6b364edfe582be24cb54693c5aaf52c0add22d5.tar.bz2 emacs-d6b364edfe582be24cb54693c5aaf52c0add22d5.zip |
Lazily print backtrace frame local variables
Instead of printing the local variables for all frames when the
backtrace buffer is created, print them when they are first made
visible. Add a prefix argument to backtrace-toggle-locals to toggle
local variables display for the entire buffer.
* lisp/emacs-lisp/backtrace.el (backtrace-view): Mention
:show-locals in docstring.
(backtrace-get-section-end): Remove function.
(backtrace-toggle-locals): Add prefix argument.
(backtrace--with-output-variables): Move before first use.
(backtrace--set-frame-locals-visible): New function.
(backtrace--set-locals-visible-overlay): New function.
(backtrace--set-locals-visible): Remove function.
(backtrace-toggle-feature): Remove TODO comment.
(backtrace--print-locals): Skip printing the locals if they are not
visible.
Diffstat (limited to 'test/lisp/emacs-lisp/cl-tests.el')
0 files changed, 0 insertions, 0 deletions