From 59e6912e6bf769fff2f48b6c2af95bda918d0cd9 Mon Sep 17 00:00:00 2001 From: Alan Schmitt Date: Wed, 16 Dec 2015 21:19:23 +0100 Subject: [PATCH] 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. --- lisp/ob-ocaml.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.6.4