diff options
author | Sebastien Delafond <seb@debian.org> | 2013-12-29 17:44:50 +0100 |
---|---|---|
committer | Sébastien Delafond <sdelafond@gmail.com> | 2014-07-13 13:35:31 +0200 |
commit | 6c5e25df62a8618951b30a669f875a93c7944e0b (patch) | |
tree | ddae85aa6440f29d4d0b4efa5ffa3d656900a8e8 /lisp/ob-scala.el | |
parent | 489f1deda8d0ec93810c342b427c1920b8c47cbb (diff) | |
parent | 52fbfeb04b10aa78f24f339a352fe1161c0b37e4 (diff) |
Imported Debian patch 8.2.4-1
Diffstat (limited to 'lisp/ob-scala.el')
-rw-r--r-- | lisp/ob-scala.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/ob-scala.el b/lisp/ob-scala.el index 7cb3099..f778361 100644 --- a/lisp/ob-scala.el +++ b/lisp/ob-scala.el @@ -100,12 +100,11 @@ in BODY as elisp." (let* ((src-file (org-babel-temp-file "scala-")) (wrapper (format org-babel-scala-wrapper-method body))) (with-temp-file src-file (insert wrapper)) - ((lambda (raw) - (org-babel-result-cond result-params - raw - (org-babel-scala-table-or-string raw))) - (org-babel-eval - (concat org-babel-scala-command " " src-file) "")))))) + (let ((raw (org-babel-eval + (concat org-babel-scala-command " " src-file) ""))) + (org-babel-result-cond result-params + raw + (org-babel-scala-table-or-string raw))))))) (defun org-babel-prep-session:scala (session params) |