mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
(calc-copy-variable): Fix mistyped variable name. Display variable
name differently in message.
This commit is contained in:
parent
c243063e8e
commit
922e9c189f
@ -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 ""))))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user