Browse Source

babel: clojure: read results remotely when necessary

Dan Davison 15 years ago
parent
commit
ed7b8bfcca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/babel/lisp/langs/org-babel-clojure.el

+ 1 - 1
contrib/babel/lisp/langs/org-babel-clojure.el

@@ -236,7 +236,7 @@ or nil if \"none\" is specified"
 	   (shell-command-on-region (point-min) (point-max)
 				    (mapconcat #'identity (org-babel-clojure-babel-clojure-cmd) " ")))
          (org-babel-clojure-table-or-string
-          (with-temp-buffer (insert-file-contents tmp-results-file) (buffer-string))))))))
+          (with-temp-buffer (insert-file-contents (org-babel-maybe-remote-file tmp-results-file)) (buffer-string))))))))
 
 (defun org-babel-clojure-evaluate-session (buffer body &optional result-type)
   "Evaluate the body in the context of a clojure session"