babel: clojure: read results remotely when necessary

This commit is contained in:
Dan Davison 2010-03-03 22:00:08 +00:00
parent 54c7b04734
commit ed7b8bfcca
1 changed files with 1 additions and 1 deletions

View File

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