]> git.eshelyaron.com Git - emacs.git/commit
Improve print output options commands in backtrace-mode (bug#36566)
authorGemini Lasswell <gazally@runbox.com>
Tue, 30 Jul 2019 17:00:27 +0000 (10:00 -0700)
committerGemini Lasswell <gazally@runbox.com>
Fri, 13 Sep 2019 20:43:07 +0000 (13:43 -0700)
commit2093395dbf8563af38f206950d95f0bc20183b9c
tree0e4c7788113b296bf768c125925e3061546e898a
parent224534ab8d3f60fea28b271859f8eaf373f95089
Improve print output options commands in backtrace-mode (bug#36566)

* lisp/emacs-lisp/backtrace.el (backtrace-view): Mention
:print-gensym in docstring.
(backtrace-mode-map): Add keyboard binding for
backtrace-toggle-print-gensym.  Add menu entries for
backtrace-toggle-print-circle and backtrace-toggle-print-gensym.
(backtrace--with-output-variables): Bind print-gensym with value
of :print-gensym found in view plist.
(backtrace-toggle-print-circle): Remove description of
implementation details from docstring.
(backtrace-toggle-print-gensym): New command.
(backtrace--toggle-feature): Add echo area message describing result
of command.

* test/lisp/emacs-lisp/backtrace-tests.el
(backtrace-tests--print-circle): New test.

* doc/lispref/debugging.texi (Backtraces): Document keyboard
binding for backtrace-toggle-print-gensym.
doc/lispref/debugging.texi
lisp/emacs-lisp/backtrace.el
test/lisp/emacs-lisp/backtrace-tests.el