aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/org/ob-gnuplot.el
diff options
context:
space:
mode:
authorBastien Guerry2012-01-03 18:27:21 +0100
committerBastien Guerry2012-01-03 18:27:21 +0100
commite66ba1dfc4cf2e12100191d2c24436c42d097268 (patch)
treeb50b009e703fe1a9e8cb13cddf7928a97ad6210c /lisp/org/ob-gnuplot.el
parent88c5c7c8313162b94173fd4333e6062aa07c4d2e (diff)
downloademacs-e66ba1dfc4cf2e12100191d2c24436c42d097268.tar.gz
emacs-e66ba1dfc4cf2e12100191d2c24436c42d097268.zip
Merge Org 7.8.03
Diffstat (limited to 'lisp/org/ob-gnuplot.el')
-rw-r--r--lisp/org/ob-gnuplot.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/org/ob-gnuplot.el b/lisp/org/ob-gnuplot.el
index 9bf0433f9fc..c1e533a95eb 100644
--- a/lisp/org/ob-gnuplot.el
+++ b/lisp/org/ob-gnuplot.el
@@ -5,7 +5,6 @@
5;; Author: Eric Schulte 5;; Author: Eric Schulte
6;; Keywords: literate programming, reproducible research 6;; Keywords: literate programming, reproducible research
7;; Homepage: http://orgmode.org 7;; Homepage: http://orgmode.org
8;; Version: 7.7
9 8
10;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
11 10
@@ -149,7 +148,10 @@ This function is called by `org-babel-execute-src-block'."
149 (shell-command-to-string 148 (shell-command-to-string
150 (format 149 (format
151 "gnuplot \"%s\"" 150 "gnuplot \"%s\""
152 (org-babel-process-file-name script-file)))) 151 (org-babel-process-file-name
152 script-file
153 (if (member system-type '(cygwin windows-nt ms-dos))
154 t nil)))))
153 (message output)) 155 (message output))
154 (with-temp-buffer 156 (with-temp-buffer
155 (insert (concat body "\n")) 157 (insert (concat body "\n"))