From dd168a3e47cc6cfc109cc71eca02ed081bbe51d8 Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Mon, 30 May 2005 02:49:54 +0000 Subject: [PATCH] (calc-user-invocation): Check if calc-invocation-macro is non-nil. --- lisp/calc/calc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index 7656f14bb87..dbc5e90b917 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el @@ -3431,7 +3431,7 @@ Also looks for the equivalent TeX words, \\gets and \\evalto." (defun calc-user-invocation () (interactive) - (unless (stringp calc-invocation-macro) + (unless calc-invocation-macro (error "Use `Z I' inside Calc to define a `M-# Z' keyboard macro")) (execute-kbd-macro calc-invocation-macro nil)) -- 2.39.5