Commit db2474b8 authored by Karl Heuer's avatar Karl Heuer
Browse files

(local-unset-key): Fix args in previous change.

parent baed0109
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment