Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
db2474b8
Commit
db2474b8
authored
Feb 25, 1995
by
Karl Heuer
Browse files
(local-unset-key): Fix args in previous change.
parent
baed0109
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/subr.el
lisp/subr.el
+2
-2
No files found.
lisp/subr.el
View file @
db2474b8
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment