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
d128fe85
Commit
d128fe85
authored
Apr 13, 1997
by
Richard M. Stallman
Browse files
(kbd): New macro.
parent
00ed33e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
lisp/subr.el
lisp/subr.el
+6
-0
No files found.
lisp/subr.el
View file @
d128fe85
...
...
@@ -226,6 +226,12 @@ The order of bindings in a keymap matters when it is used as a menu."
(
setq
inserted
t
)))
(
setq
tail
(
cdr
tail
)))))
(
defmacro
kbd
(
keys
)
"Convert KEYS to the internal Emacs key representation.
KEYS should be a string constant in the format used for
saving keyboard macros (see `insert-kbd-macro')."
(
read-kbd-macro
keys
))
(
put
'keyboard-translate-table
'char-table-extra-slots
0
)
(
defun
keyboard-translate
(
from
to
)
...
...
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