From 6e3017d7de707cef8682f7f8d9b754db1c1db40a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 30 Sep 2021 14:32:58 +0300 Subject: [PATCH] Fix a recent change of 'undo-redo' binding * lisp/bindings.el (global-map): Fix the binding of 'undo-redo'. (Bug#50911) --- lisp/bindings.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/bindings.el b/lisp/bindings.el index ded5e27dbdc..1cd22167c5b 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -994,7 +994,7 @@ if `inhibit-field-text-motion' is non-nil." "Keymap to repeat undo key sequences `C-x u u'. Used in `repeat-mode'.") (put 'undo 'repeat-map 'undo-repeat-map) -(define-key global-map "\C-?" 'undo-redo) +(define-key global-map '[(control ??)] 'undo-redo) (define-key global-map [?\C-\M-_] 'undo-redo) (define-key esc-map "!" 'shell-command) -- 2.39.5