Mercurial > emacs
changeset 10826:bd0ab0601489
(local-unset-key): Fix args in previous change.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sat, 25 Feb 1995 04:57:17 +0000 |
parents | 4dba26c66bf5 |
children | 4dfd3634b155 |
files | lisp/subr.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/subr.el Sat Feb 25 04:44:08 1995 +0000 +++ b/lisp/subr.el Sat Feb 25 04:57:17 1995 +0000 @@ -970,12 +970,12 @@ (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