Mercurial > emacs
changeset 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 | 85b1ac7f1caa |
children | 9715c82333ab |
files | lisp/macros.el |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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))