diff options
author | Jay Belanger <jay.p.belanger@gmail.com> | 2005-05-30 02:49:54 +0000 |
---|---|---|
committer | Jay Belanger <jay.p.belanger@gmail.com> | 2005-05-30 02:49:54 +0000 |
commit | dd168a3e47cc6cfc109cc71eca02ed081bbe51d8 (patch) | |
tree | 46fbd908c73fe4f9c29da3b6a9ecb6ced4f14f78 /lisp/calc/calc.el | |
parent | 5f43c63c204e8d746abdf5702856e081dfd5602b (diff) | |
download | emacs-dd168a3e47cc6cfc109cc71eca02ed081bbe51d8.tar.gz |
(calc-user-invocation): Check if calc-invocation-macro is non-nil.
Diffstat (limited to 'lisp/calc/calc.el')
-rw-r--r-- | lisp/calc/calc.el | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |