From 04a6fd378f0996c14c3cf9e4905f56df231aa500 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 9 Sep 2022 19:29:21 +0200 Subject: 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. --- lisp/emacs-lisp/backtrace.el | 1 - 1 file changed, 1 deletion(-) (limited to 'lisp/emacs-lisp/backtrace.el') diff --git a/lisp/emacs-lisp/backtrace.el b/lisp/emacs-lisp/backtrace.el index 70473770d16..4ffe6f573c6 100644 --- a/lisp/emacs-lisp/backtrace.el +++ b/lisp/emacs-lisp/backtrace.el @@ -209,7 +209,6 @@ frames where the source code location is known.") "v" #'backtrace-toggle-locals "#" #'backtrace-toggle-print-circle ":" #'backtrace-toggle-print-gensym - "s" #'backtrace-goto-source "RET" #'backtrace-help-follow-symbol "+" #'backtrace-multi-line "-" #'backtrace-single-line -- cgit v1.2.3