diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-02-25 04:57:17 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-02-25 04:57:17 +0000 |
commit | db2474b88d0e98d1236dbf873b6b38ffea7865fb (patch) | |
tree | 04fae2afd3c92cbeecfd5b36d0a03cd0f845f1ff /lisp | |
parent | baed0109364f28f12cabdc8a13e363b6f2f105fc (diff) | |
download | emacs-db2474b88d0e98d1236dbf873b6b38ffea7865fb.tar.gz emacs-db2474b88d0e98d1236dbf873b6b38ffea7865fb.tar.bz2 emacs-db2474b88d0e98d1236dbf873b6b38ffea7865fb.zip |
(local-unset-key): Fix args in previous change.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/subr.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 7f6db387cce..e0a8e0177ff 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -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) ;; now in fns.c |