aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2004-08-08 16:49:37 +0000
committerLuc Teirlinck2004-08-08 16:49:37 +0000
commit572fc345a065d970fc0bc648cac384d2e54b5f0c (patch)
treee046d27d8d4034df0d7dbdbf29448017689c9ac1
parent971e4c987c646d7654232c72990ff5554a0023b9 (diff)
downloademacs-572fc345a065d970fc0bc648cac384d2e54b5f0c.tar.gz
emacs-572fc345a065d970fc0bc648cac384d2e54b5f0c.zip
(global-unset-key, local-unset-key): Doc fixes.
-rw-r--r--lisp/subr.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 0572446aefc..eb1e5e5df2f 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."
2304 2304
2305(defun global-unset-key (key) 2305(defun global-unset-key (key)
2306 "Remove global binding of KEY. 2306 "Remove global binding of KEY.
2307KEY is a string representing a sequence of keystrokes." 2307KEY is a string or vector representing a sequence of keystrokes."
2308 (interactive "kUnset key globally: ") 2308 (interactive "kUnset key globally: ")
2309 (global-set-key key nil)) 2309 (global-set-key key nil))
2310 2310
2311(defun local-unset-key (key) 2311(defun local-unset-key (key)
2312 "Remove local binding of KEY. 2312 "Remove local binding of KEY.
2313KEY is a string representing a sequence of keystrokes." 2313KEY is a string or vector representing a sequence of keystrokes."
2314 (interactive "kUnset key locally: ") 2314 (interactive "kUnset key locally: ")
2315 (if (current-local-map) 2315 (if (current-local-map)
2316 (local-set-key key nil)) 2316 (local-set-key key nil))