]> git.eshelyaron.com Git - emacs.git/commitdiff
(name-last-kbd-macro): Handle macros that are vectors.
authorRichard M. Stallman <rms@gnu.org>
Thu, 29 Jul 1993 03:27:05 +0000 (03:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 29 Jul 1993 03:27:05 +0000 (03:27 +0000)
lisp/macros.el

index b1da9eb1162d3da7907b130816addea34b7121ab..c2e8b18b4aff455be5a0be709e4039a648960f9c 100644 (file)
@@ -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))