diff options
author | Eli Zaretskii <eliz@gnu.org> | 2019-01-13 17:50:16 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2019-01-13 17:50:16 +0200 |
commit | b26d6373c48ca26a7cfc81fd03ec8d7f50c13962 (patch) | |
tree | 0a14c77b721472c1d7063e9afa008bcde64ad245 /lisp/emacs-lisp/cl-print.el | |
parent | 03818b0a9509e5e54aaee8a40c25f7da099fb7df (diff) | |
download | emacs-b26d6373c48ca26a7cfc81fd03ec8d7f50c13962.tar.gz emacs-b26d6373c48ca26a7cfc81fd03ec8d7f50c13962.tar.bz2 emacs-b26d6373c48ca26a7cfc81fd03ec8d7f50c13962.zip |
Fix Calc graph output on MS-Windows
The previous code relied on "pgnuplot" executable, which is
no longer provided with Gnuplot 5.x.
* lisp/calc/calc.el (calc-gnuplot-name): Set to "pgnuplot" on
MS-Windows only if such an executable exists.
* lisp/calc/calc-graph.el (calc-graph-w32-p): New defsubst.
(calc-graph-plot, calc-graph-command, calc-gnuplot-command)
(calc-graph-init): Call calc-graph-w32-p wherever we need to
do something special for invoking gnuplot on MS-Windows,
instead of comparing against calc-gnuplot-name.
(calc-graph-plot): Set the terminal to "qt" on MS-Windows when
pgnuplot.exe is not available.
(calc-graph-kill): Delete the temporary files only after
killing the gnuplot process, otherwise the deletion might fail
on MS-Windows because the files are still in use.
Diffstat (limited to 'lisp/emacs-lisp/cl-print.el')
0 files changed, 0 insertions, 0 deletions