(calc-user-invocation): Check if calc-invocation-macro is non-nil.

This commit is contained in:
Jay Belanger 2005-05-30 02:49:54 +00:00
parent 5f43c63c20
commit dd168a3e47

View file

@ -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))