1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

Don't have edebug bug out if C-x is rebound

* lisp/emacs-lisp/edebug.el (edebug-global-prefix): Don't bug out
if C-x has been rebound (bug#55607).
This commit is contained in:
Lars Ingebrigtsen 2022-05-25 03:50:36 +02:00
parent 458d8db7e8
commit abd3411827

View File

@ -3865,7 +3865,10 @@ be installed in `emacs-lisp-mode-map'.")
(define-obsolete-variable-alias 'global-edebug-prefix
'edebug-global-prefix "28.1")
(defvar edebug-global-prefix "\^XX"
(defvar edebug-global-prefix
(when-let ((binding
(car (where-is-internal 'Control-X-prefix (list global-map)))))
(concat binding [?X]))
"Prefix key for global edebug commands, available from any buffer.")
(define-obsolete-variable-alias 'global-edebug-map