(global-unset-key, local-unset-key): Doc fixes.
This commit is contained in:
parent
971e4c987c
commit
572fc345a0
1 changed files with 2 additions and 2 deletions
|
@ -2304,13 +2304,13 @@ which in most cases is shared with all other buffers in the same major mode."
|
|||
|
||||
(defun global-unset-key (key)
|
||||
"Remove global binding of KEY.
|
||||
KEY is a string representing a sequence of keystrokes."
|
||||
KEY is a string or vector representing a sequence of keystrokes."
|
||||
(interactive "kUnset key globally: ")
|
||||
(global-set-key key nil))
|
||||
|
||||
(defun local-unset-key (key)
|
||||
"Remove local binding of KEY.
|
||||
KEY is a string representing a sequence of keystrokes."
|
||||
KEY is a string or vector representing a sequence of keystrokes."
|
||||
(interactive "kUnset key locally: ")
|
||||
(if (current-local-map)
|
||||
(local-set-key key nil))
|
||||
|
|
Loading…
Add table
Reference in a new issue