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:
Eric Schulte 2011-09-29 06:54:39 -06:00
parent 774f9cb8e6
commit dec0b8e975

View file

@ -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"))