From 922e9c189f753d8b4e263da01aa1659f6a37711c Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Thu, 30 Dec 2004 17:43:09 +0000 Subject: [PATCH] (calc-copy-variable): Fix mistyped variable name. Display variable name differently in message. --- lisp/calc/calc-store.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/calc/calc-store.el b/lisp/calc/calc-store.el index a3c401e734e..93239521801 100644 --- a/lisp/calc/calc-store.el +++ b/lisp/calc/calc-store.el @@ -373,9 +373,10 @@ (if var1 (let ((value (calc-var-value var1))) (or value - (error "No such variable: \"%s\"" (calc-var-name var))) + (error "No such variable: \"%s\"" (calc-var-name var1))) (or var2 (setq var2 (calc-read-var-name - (format "Copy variable: %s, to: " var1)))) + (format "Copy variable: %s, to: " + (calc-var-name var1))))) (if var2 (calc-store-value var2 value ""))))))