mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(calc-graph-plot): Avoid assignment to free variable `filename'.
This commit is contained in:
parent
b6a44b279c
commit
d916c9650d
2 changed files with 7 additions and 4 deletions
|
|
@ -529,10 +529,10 @@
|
|||
(calc-clear-command-flag 'clear-message)
|
||||
(message "No data to plot!"))
|
||||
(setq calc-graph-data-cache-limit (max calc-graph-curve-num
|
||||
calc-graph-data-cache-limit)
|
||||
filename (calc-temp-file-name 0))
|
||||
(write-region (point-min) (point-max) filename nil 'quiet)
|
||||
(calc-gnuplot-command "load" (prin1-to-string filename))
|
||||
calc-graph-data-cache-limit))
|
||||
(let ((filename (calc-temp-file-name 0)))
|
||||
(write-region (point-min) (point-max) filename nil 'quiet)
|
||||
(calc-gnuplot-command "load" (prin1-to-string filename)))
|
||||
(or (equal output "STDOUT")
|
||||
calc-gnuplot-keep-outfile
|
||||
(progn ; need to close the output file before printing/plotting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue