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
4dc7458e
Commit
4dc7458e
authored
Jul 29, 1993
by
Richard M. Stallman
Browse files
(name-last-kbd-macro): Handle macros that are vectors.
parent
af7dc6c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lisp/macros.el
lisp/macros.el
+1
-0
No files found.
lisp/macros.el
View file @
4dc7458e
...
@@ -41,6 +41,7 @@ Such a \"function\" cannot be called from Lisp, but it is a valid editor command
...
@@ -41,6 +41,7 @@ Such a \"function\" cannot be called from Lisp, but it is a valid editor command
(
error
"No keyboard macro defined"
))
(
error
"No keyboard macro defined"
))
(
and
(
fboundp
symbol
)
(
and
(
fboundp
symbol
)
(
not
(
stringp
(
symbol-function
symbol
)))
(
not
(
stringp
(
symbol-function
symbol
)))
(
not
(
vectorp
(
symbol-function
symbol
)))
(
error
"Function %s is already defined and not a keyboard macro."
(
error
"Function %s is already defined and not a keyboard macro."
symbol
))
symbol
))
(
fset
symbol
last-kbd-macro
))
(
fset
symbol
last-kbd-macro
))
...
...
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