diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-07-29 03:27:05 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-07-29 03:27:05 +0000 |
commit | 2d9868534ed62ed7d845e5c017fe1c82a0394074 (patch) | |
tree | 3b8f2a00fd5dd3c3b3113494f6df8af23947fec0 /lisp/macros.el | |
parent | d241ec0415ebf83867caf29b4153b93ab13bce31 (diff) | |
download | emacs-2d9868534ed62ed7d845e5c017fe1c82a0394074.tar.gz |
(name-last-kbd-macro): Handle macros that are vectors.
Diffstat (limited to 'lisp/macros.el')
-rw-r--r-- | lisp/macros.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/macros.el b/lisp/macros.el index b1da9eb1162..c2e8b18b4af 100644 --- a/lisp/macros.el +++ b/lisp/macros.el @@ -41,6 +41,7 @@ Such a \"function\" cannot be called from Lisp, but it is a valid editor command (error "No keyboard macro defined")) (and (fboundp symbol) (not (stringp (symbol-function symbol))) + (not (vectorp (symbol-function symbol))) (error "Function %s is already defined and not a keyboard macro." symbol)) (fset symbol last-kbd-macro)) |