Commit 922e9c18 authored by Jay Belanger's avatar Jay Belanger
Browse files

(calc-copy-variable): Fix mistyped variable name. Display variable

name differently in message.
parent c243063e
......@@ -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 ""))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment