forked from mirrors/org-mode
gnuplot, don't quote file names on Windows systems
Thanks to Alex Vorobiev for suggesting this change * lisp/ob-gnuplot.el (org-babel-execute:gnuplot): Don't quote file names on Windows systems.
This commit is contained in:
parent
774f9cb8e6
commit
dec0b8e975
|
@ -148,7 +148,10 @@ This function is called by `org-babel-execute-src-block'."
|
|||
(shell-command-to-string
|
||||
(format
|
||||
"gnuplot \"%s\""
|
||||
(org-babel-process-file-name script-file))))
|
||||
(org-babel-process-file-name
|
||||
script-file
|
||||
(if (member system-type '(cygwin windows-nt ms-dos))
|
||||
t nil)))))
|
||||
(message output))
|
||||
(with-temp-buffer
|
||||
(insert (concat body "\n"))
|
||||
|
|
Loading…
Reference in a new issue