Function: global-unset-key

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

Signature

(global-unset-key KEY)

Documentation

Remove global binding of KEY.

This is a legacy function; see keymap-global-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 global-unset-key (key)
  "Remove global binding of KEY.
This is a legacy function; see `keymap-global-unset' for the
recommended function to use instead.

KEY is a string or vector representing a sequence of keystrokes."
  (interactive "kUnset key globally: ")
  (global-set-key key nil))