summaryrefslogtreecommitdiff
path: root/lisp/calc/calc-store.el
diff options
context:
space:
mode:
authorJay Belanger <jay.p.belanger@gmail.com>2005-01-24 18:23:33 +0000
committerJay Belanger <jay.p.belanger@gmail.com>2005-01-24 18:23:33 +0000
commitdacb2f7013c28d5265e079a1f4c0e6536a4699ca (patch)
tree74dc465631864927a1b97044dbf12200a388b5f9 /lisp/calc/calc-store.el
parent4d904fa0b23037b001f9349a467845c85efb33ba (diff)
(calc-declare-variable): Use calc-var-name to display variable name.
Diffstat (limited to 'lisp/calc/calc-store.el')
-rw-r--r--lisp/calc/calc-store.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calc/calc-store.el b/lisp/calc/calc-store.el
index b2cef4936a..52f0cc0272 100644
--- a/lisp/calc/calc-store.el
+++ b/lisp/calc/calc-store.el
@@ -482,7 +482,7 @@
(setq rp nil)))
(not rp)))))
(calc-unread-command ?\C-a)
- (setq decl (read-string (format "Declare: %s to be: " var)
+ (setq decl (read-string (format "Declare: %s to be: " (calc-var-name var))
(and rp
(math-format-flat-expr (nth 2 (car dp)) 0))))
(setq decl (and (string-match "[^ \t]" decl)