summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Schmitt <alan.schmitt@polytechnique.org>2015-12-16 21:19:23 +0100
committerAlan Schmitt <alan.schmitt@polytechnique.org>2015-12-21 09:05:19 +0100
commit5aa12cd122feef79a32459463df5828fe520a7c2 (patch)
tree230029bbd39b879d5308b4053d275b94c03c81d7
parent35bc1c8853c5cfe37930e3540a944a328af5198b (diff)
downloadorg-mode-5aa12cd122feef79a32459463df5828fe520a7c2.tar.gz
ob-ocaml.el: Keep echo to display ocaml errors
* ob-ocaml.el (org-babel-execute:ocaml): call `org-babel-comint-with-output' with nil `remove-echo' argument.
-rw-r--r--lisp/ob-ocaml.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-ocaml.el b/lisp/ob-ocaml.el
index 48f8aba..68ac859 100644
--- a/lisp/ob-ocaml.el
+++ b/lisp/ob-ocaml.el
@@ -66,7 +66,7 @@
(session (org-babel-prep-session:ocaml
(cdr (assoc :session params)) params))
(raw (org-babel-comint-with-output
- (session org-babel-ocaml-eoe-output t full-body)
+ (session org-babel-ocaml-eoe-output nil full-body)
(insert
(concat
(org-babel-chomp full-body) ";;\n"