Commit dd168a3e authored by Jay Belanger's avatar Jay Belanger
Browse files

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

parent 5f43c63c
...@@ -3431,7 +3431,7 @@ Also looks for the equivalent TeX words, \\gets and \\evalto." ...@@ -3431,7 +3431,7 @@ Also looks for the equivalent TeX words, \\gets and \\evalto."
(defun calc-user-invocation () (defun calc-user-invocation ()
(interactive) (interactive)
(unless (stringp calc-invocation-macro) (unless calc-invocation-macro
(error "Use `Z I' inside Calc to define a `M-# Z' keyboard macro")) (error "Use `Z I' inside Calc to define a `M-# Z' keyboard macro"))
(execute-kbd-macro calc-invocation-macro nil)) (execute-kbd-macro calc-invocation-macro nil))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment