# HG changeset patch # User Richard M. Stallman # Date 743916425 0 # Node ID c75a5c7d4f3988a1d456466043a871da59a5702d # Parent 85b1ac7f1caa8d33ac9fb54ebfd8808f7ccac874 (name-last-kbd-macro): Handle macros that are vectors. diff -r 85b1ac7f1caa -r c75a5c7d4f39 lisp/macros.el --- 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))