summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Davison <davison@stats.ox.ac.uk>2010-08-02 21:35:35 -0400
committerDan Davison <davison@stats.ox.ac.uk>2010-08-02 22:08:47 -0400
commit876b115259beb6fb70c82d3f590aa4f3d05bb968 (patch)
treeda13cb1f3dc337a9cf737ae0034d20b0e2b90c0a
parent2072def1b9d33824222f29f02991827288be5b0b (diff)
downloadorg-mode-876b115259beb6fb70c82d3f590aa4f3d05bb968.tar.gz
babel: octave: allow remote files
2010-08-02 Dan Davison <davison@stats.ox.ac.uk> * ob-octave.el (org-babel-octave-evaluate-external-process): allow remote files
-rw-r--r--lisp/ob-octave.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ob-octave.el b/lisp/ob-octave.el
index 540fca2..ad7184e 100644
--- a/lisp/ob-octave.el
+++ b/lisp/ob-octave.el
@@ -182,7 +182,8 @@ value of the last statement in BODY, as elisp."
(org-babel-eval
cmd
(format org-babel-octave-wrapper-method body tmp-file tmp-file))
- (org-babel-octave-import-elisp-from-file tmp-file))))))
+ (org-babel-octave-import-elisp-from-file
+ (org-babel-maybe-remote-file tmp-file)))))))
(defun org-babel-octave-evaluate-session
(session body result-type &optional matlabp)