From: Richard M. Stallman Date: Thu, 29 Jul 1993 03:27:05 +0000 (+0000) Subject: (name-last-kbd-macro): Handle macros that are vectors. X-Git-Tag: emacs-19.34~11520 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4dc7458eb6f658052f280802763690d175a8c075;p=emacs.git (name-last-kbd-macro): Handle macros that are vectors. --- 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))