Function: local-unset-key

local-unset-key is an interactive and byte-compiled function defined in subr.el.gz.

Signature

(local-unset-key KEY)

Documentation

Remove local binding of KEY.

This is a legacy function; see keymap-local-unset for the recommended function to use instead.

KEY is a string or vector representing a sequence of keystrokes.

View in manual

Probably introduced at or before Emacs version 1.4.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/subr.el.gz
(defun local-unset-key (key)
  "Remove local binding of KEY.
This is a legacy function; see `keymap-local-unset' for the
recommended function to use instead.

KEY is a string or vector representing a sequence of keystrokes."
  (interactive "kUnset key locally: ")
  (if (current-local-map)
      (local-set-key key nil))
  nil)