ob-core: Do not return results on writing to file

* ob-core (org-babel-result-cond): Add "file" as a param that returns
  a scalar result.

When writing the result to file we do not need to first convert the
data to a table since it is just converted back when
org-babel-execute-src-block serializes the result to file.
This commit is contained in:
Bjarte Johansen 2015-05-26 12:54:14 +02:00 committed by Nicolas Goaziou
parent 3062753e16
commit 041ca4b6f4
1 changed files with 1 additions and 0 deletions

View File

@ -2979,6 +2979,7 @@ Emacs shutdown."))
(member "html" ,params)
(member "code" ,params)
(member "pp" ,params)
(member "file" ,params)
(and (or (member "output" ,params)
(member "raw" ,params)
(member "org" ,params)