Always make buttons from function names in backtraces

* lisp/emacs-lisp/backtrace.el (backtrace-view)
(backtrace--print-func-and-args, backtrace-mode): Always
make buttons.  Remove all uses of ':do-xrefs'.
* lisp/emacs-lisp/debug.el (debugger-setup-buffer): Modify
backtrace-view instead of setting it.
* lisp/emacs-lisp/edebug.el (edebug-backtrace):
* lisp/emacs-lisp/ert.el
(ert-results-pop-to-backtrace-for-test-at-point):
Remove initialization of backtrace-view.
This commit is contained in:
Gemini Lasswell 2018-06-24 07:17:47 -07:00
parent e09120d686
commit 5b50fa5a9d
4 changed files with 10 additions and 11 deletions

View file

@ -335,7 +335,7 @@ That buffer should be current already and in debugger-mode."
:debug-on-exit)
nil))
(setq backtrace-view '(:do-xrefs t :show-flags t)
(setq backtrace-view (plist-put backtrace-view :show-flags t)
backtrace-insert-header-function (lambda ()
(debugger--insert-header args))
backtrace-print-function debugger-print-function)