summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/calc/calc-misc.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/calc/calc-misc.el b/lisp/calc/calc-misc.el
index 082bc8826e7..07d5c8a157f 100644
--- a/lisp/calc/calc-misc.el
+++ b/lisp/calc/calc-misc.el
@@ -231,6 +231,9 @@ Calc user interface as before (either M-# C or M-# K; initially M-# C)."
;;;; Stack and buffer management.
+;; The variable calc-last-why-command is set in calc-do-handly-whys
+;; and used in calc-why (in calc-stuff.el).
+(defvar calc-last-why-command)
(defun calc-do-handle-whys ()
(setq calc-why (sort calc-next-why