Function: keymap-local-unset
keymap-local-unset is a byte-compiled function defined in
compat-29.el.
Signature
(keymap-local-unset KEY &optional REMOVE)
Documentation
[Compatibility function for keymap-local-unset, defined in Emacs 29.1. See
(compat) Emacs 29.1' for more details.]
Remove local 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-local-unset (key &optional remove) ;; <compat-tests:keymap-local-unset>
"Remove local 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."
(when (current-local-map)
(keymap-unset (current-local-map) key remove)))