summaryrefslogtreecommitdiff
path: root/lisp/calc/calc-undo.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/calc/calc-undo.el')
-rw-r--r--lisp/calc/calc-undo.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/calc/calc-undo.el b/lisp/calc/calc-undo.el
index a49c34010ab..d946a1390d3 100644
--- a/lisp/calc/calc-undo.el
+++ b/lisp/calc/calc-undo.el
@@ -77,7 +77,8 @@
(let ((v (intern (nth 1 action))))
(calc-record-undo (list 'store (nth 1 action)
(and (boundp v) (symbol-value v))))
- (if (y-or-n-p (format "Un-store variable %s? " (nth 1 action)))
+ (if (y-or-n-p (format "Un-store variable %s? "
+ (calc-var-name (nth 1 action))))
(progn
(if (nth 2 action)
(set v (nth 2 action))