From 4dc7458eb6f658052f280802763690d175a8c075 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 29 Jul 1993 03:27:05 +0000 Subject: [PATCH] (name-last-kbd-macro): Handle macros that are vectors. --- lisp/macros.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/macros.el b/lisp/macros.el index b1da9eb116..c2e8b18b4a 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)) -- 2.39.2