ob-ocaml.el: Make sure a value was extracted before printing
commitf57b2d71414fe195ee98ffb2531fa1423e8d70bf
authorAlan Schmitt <alan.schmitt@polytechnique.org>
Mon, 31 Mar 2014 12:24:22 +0000 (31 14:24 +0200)
committerAlan Schmitt <alan.schmitt@polytechnique.org>
Mon, 31 Mar 2014 12:24:22 +0000 (31 14:24 +0200)
treef784fb9a55c1ab933e13199574f43433df59cdb9
parenta7e12d2af5293a71473e1ca175f1c1ac087d4c04
ob-ocaml.el: Make sure a value was extracted before printing

* lisp/ob-ocaml.el (org-babel-execute:ocaml): Do not try to print
a value if either the type or the value could not be extracted from
the toplevel.
lisp/ob-ocaml.el