From db2474b88d0e98d1236dbf873b6b38ffea7865fb Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sat, 25 Feb 1995 04:57:17 +0000 Subject: [PATCH] (local-unset-key): Fix args in previous change. --- lisp/subr.el | 4 ++-- 1 file 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 -- 2.39.5