Function: keymap-global-unset

keymap-global-unset is a byte-compiled function defined in compat-29.el.

Signature

(keymap-global-unset KEY &optional REMOVE)

Documentation

[Compatibility function for keymap-global-unset, defined in Emacs 29.1. See
(compat) Emacs 29.1' for more details.]

Remove global binding of KEY (if any). KEY is a string that satisfies key-valid-p.

If REMOVE (interactively, the prefix arg), remove the binding instead of unsetting it. See keymap-unset for details.

NOTE: The compatibility version is not a command.

Source Code

;; Defined in ~/.emacs.d/elpa/compat-30.1.0.1/compat-29.el
(compat-defun keymap-global-unset (key &optional remove) ;; <compat-tests:keymap-global-unset>
  "Remove global binding of KEY (if any).
KEY is a string that satisfies `key-valid-p'.

If REMOVE (interactively, the prefix arg), remove the binding
instead of unsetting it.  See `keymap-unset' for details.

NOTE: The compatibility version is not a command."
  (keymap-unset (current-global-map) key remove))