diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-09-09 19:29:21 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-09-09 19:29:21 +0200 |
commit | 04a6fd378f0996c14c3cf9e4905f56df231aa500 (patch) | |
tree | 7efe4f78cabf5cfa0c0c67705a3a816f0047b93b /test/lisp | |
parent | 4cc78bcfd1f82829b92dff53abf4adf45641b4b2 (diff) | |
download | emacs-04a6fd378f0996c14c3cf9e4905f56df231aa500.tar.gz emacs-04a6fd378f0996c14c3cf9e4905f56df231aa500.tar.bz2 emacs-04a6fd378f0996c14c3cf9e4905f56df231aa500.zip |
Don't bind `s' in the normal backtrace map
* lisp/emacs-lisp/backtrace.el (backtrace-mode-map): Don't bind
the "s" command, because it's meaningless outside modes that have
set the backtrace-goto-source-functions variable (and only edebug
does that) (bug#57674).
* lisp/emacs-lisp/edebug.el (edebug-pop-to-backtrace): Use it.
(edebug-backtrace-mode-map, edebug-backtrace-mode): New mode.
Diffstat (limited to 'test/lisp')
-rw-r--r-- | test/lisp/emacs-lisp/edebug-tests.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/edebug-tests.el b/test/lisp/emacs-lisp/edebug-tests.el index 008e1e467ba..dea6e9ed611 100644 --- a/test/lisp/emacs-lisp/edebug-tests.el +++ b/test/lisp/emacs-lisp/edebug-tests.el @@ -428,7 +428,8 @@ test and possibly others should be updated." (verify-keybinding "-" 'negative-argument) (verify-keybinding "=" 'edebug-temp-display-freq-count) (should (eq (lookup-key backtrace-mode-map "n") 'backtrace-forward-frame)) - (should (eq (lookup-key backtrace-mode-map "s") 'backtrace-goto-source)))) + (should (eq (lookup-key edebug-backtrace-mode-map "s") + 'backtrace-goto-source)))) (ert-deftest edebug-tests-stop-point-at-start-of-first-instrumented-function () "Edebug stops at the beginning of an instrumented function." |