Mercurial > emacs
diff lisp/macros.el @ 4331:c75a5c7d4f39
(name-last-kbd-macro): Handle macros that are vectors.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 29 Jul 1993 03:27:05 +0000 |
parents | 507f64624555 |
children | 069c54e77fd1 |
line wrap: on
line diff
--- a/lisp/macros.el Thu Jul 29 02:36:54 1993 +0000 +++ b/lisp/macros.el Thu Jul 29 03:27:05 1993 +0000 @@ -41,6 +41,7 @@ (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))