emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 6e3017d: Fix a recent change of 'undo-redo' binding


From: Eli Zaretskii
Subject: master 6e3017d: Fix a recent change of 'undo-redo' binding
Date: Thu, 30 Sep 2021 07:34:00 -0400 (EDT)

branch: master
commit 6e3017d7de707cef8682f7f8d9b754db1c1db40a
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    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 ded5e27..1cd2216 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]