aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorLuc Teirlinck <[email protected]>2004-08-08 16:49:37 +0000
committerLuc Teirlinck <[email protected]>2004-08-08 16:49:37 +0000
commit572fc345a065d970fc0bc648cac384d2e54b5f0c (patch)
treee046d27d8d4034df0d7dbdbf29448017689c9ac1 /lisp
parent971e4c987c646d7654232c72990ff5554a0023b9 (diff)
(global-unset-key, local-unset-key): Doc fixes.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/subr.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 0572446aef..eb1e5e5df2 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -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))