summaryrefslogtreecommitdiff
path: root/lisp/calc/calc-undo.el
diff options
context:
space:
mode:
authorJay Belanger <jay.p.belanger@gmail.com>2005-02-15 19:26:49 +0000
committerJay Belanger <jay.p.belanger@gmail.com>2005-02-15 19:26:49 +0000
commit6735a29b343972d958c9c03a2b29e56aa1a69bd8 (patch)
tree480ff92c9bef3952d97cd475590666a2e1d175ed /lisp/calc/calc-undo.el
parent6fc5a7dac1cb8911889aac15693f457fe8b431a7 (diff)
(calc-handle-undo): Remove prefix from variable in message.
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 a49c34010a..d946a1390d 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))