Hi all,
Here's a patch to turn this:
#+begin_src C :results output
puts("[1] 2 3 3");
#+end_src
#+RESULTS:
: [1]
into this:
#+begin_src C :results output
puts("[1] 2 3 3");
#+end_src
#+RESULTS:
: [1] 2 3
regards,
Oleh
From 3cde8ae1316762e106c2229a1661b31de56bc3f9 Mon Sep 17 00:00:00 2001
From: Oleh Krehel <[email protected]>
Date: Wed, 30 Oct 2013 08:50:33 +0100
Subject: [PATCH] lisp/ob-C.el (org-babel-C-execute): turn on inhibit-lisp eval
---
lisp/ob-C.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ob-C.el b/lisp/ob-C.el
index e9eec93..c35b3d0 100644
--- a/lisp/ob-C.el
+++ b/lisp/ob-C.el
@@ -106,7 +106,7 @@ or `org-babel-execute:C++'."
((lambda (results)
(org-babel-reassemble-table
(org-babel-result-cond (cdr (assoc :result-params params))
- (org-babel-read results)
+ (org-babel-read results t)
(let ((tmp-file (org-babel-temp-file "c-")))
(with-temp-file tmp-file (insert results))
(org-babel-import-elisp-from-file tmp-file)))
--
1.8.4