]> git.eshelyaron.com Git - emacs.git/commitdiff
(local-unset-key): Fix args in previous change.
authorKarl Heuer <kwzh@gnu.org>
Sat, 25 Feb 1995 04:57:17 +0000 (04:57 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sat, 25 Feb 1995 04:57:17 +0000 (04:57 +0000)
lisp/subr.el

index 7f6db387cce67d4a1a1e8f55037f745bc14e1a81..e0a8e0177ff8f9cfc888e6d7942237999768c2bc 100644 (file)
@@ -970,12 +970,12 @@ KEY is a string representing a sequence of keystrokes."
   (interactive "kUnset key globally: ")
   (global-set-key key nil))
 
-(defun local-unset-key
+(defun local-unset-key (key)
   "Remove local binding of KEY.
 KEY is a string representing a sequence of keystrokes."
   (interactive "kUnset key locally: ")
   (if (current-local-map)
-      (local-set-key (current-local-map) key nil))
+      (local-set-key key nil))
   nil)
 \f
 ;; now in fns.c