Babel: add results value support to Scala
commitde7766f4b0f04d74a69e461b5aad4e07e91a20bc
authorCaio Tiago Oliveira <asrail@gmail.com>
Mon, 15 Oct 2012 18:52:50 +0000 (15 15:52 -0300)
committerBastien Guerry <bzg@altern.org>
Thu, 25 Oct 2012 08:56:24 +0000 (25 10:56 +0200)
tree2341356ea6ae5960b02660eab18835560c861a65
parentaba9e2b94dadcd655e462252a5c79edf61bfa65c
Babel: add results value support to Scala

* lisp/ob-scala.el (org-babel-scala-wrapper-method): Use a Scala
block enclosing the submitted code.

The string representing an well formed block was not an Scala code. I
put the string from the user into an block, surrounded by an call to
replace the default output stream.

TINYCHANGE
lisp/ob-scala.el