1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-13 01:32:21 -07:00

* lisp/keymap.el (keymap-global-unset): Correct prompt

This commit is contained in:
Robert Pluim 2023-01-31 18:17:41 +01:00
parent 49b6140558
commit 47ab9ba55d

View file

@ -107,7 +107,7 @@ If REMOVE (interactively, the prefix arg), remove the binding
instead of unsetting it. See `keymap-unset' for details."
(declare (compiler-macro (lambda (form) (keymap--compile-check key) form)))
(interactive
(list (key-description (read-key-sequence "Set key locally: "))
(list (key-description (read-key-sequence "Unset key globally: "))
current-prefix-arg))
(keymap-unset (current-global-map) key remove))