summaryrefslogtreecommitdiff
path: root/lisp/bindings.el
diff options
context:
space:
mode:
authordickmao <none>2021-09-30 06:59:10 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-09-30 06:59:10 +0200
commitd94ab4949cdfda67cbd0d1aad9cadb030038b2b2 (patch)
treef4e2cfb45a8febba60dc0b0e40b01da5be3d049d /lisp/bindings.el
parentdc94ca7b2b878c9a88be72fea118bf6557259ffd (diff)
downloademacs-d94ab4949cdfda67cbd0d1aad9cadb030038b2b2.tar.gz
Fix bootstrap after recent undo-redo change
* lisp/bindings.el (global-map): Don't use `kbd' here -- it breaks bootstrap (bug#50911).
Diffstat (limited to 'lisp/bindings.el')
-rw-r--r--lisp/bindings.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 9a3505058c4..ded5e27dbdc 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 (kbd "C-?") 'undo-redo)
+(define-key global-map "\C-?" 'undo-redo)
(define-key global-map [?\C-\M-_] 'undo-redo)
(define-key esc-map "!" 'shell-command)