From 86418567cdf7e0b583563b5679d04752f70f55dd Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 21 Oct 2010 11:28:11 +0100 Subject: [PATCH] babel: C: Don't trim body when expanding * ob-C.el (org-babel-C-expand): Don't trim body --- lisp/ob-C.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/ob-C.el b/lisp/ob-C.el index 90eeb7fd0..41927b8ed 100644 --- a/lisp/ob-C.el +++ b/lisp/ob-C.el @@ -129,7 +129,6 @@ it's header arguments." (defines (org-babel-read (or (cdr (assoc :defines params)) (org-babel-read (org-entry-get nil "defines" t)))))) - (org-babel-trim (mapconcat 'identity (list ;; includes @@ -145,7 +144,7 @@ it's header arguments." ;; body (if main-p (org-babel-C-ensure-main-wrap body) - body) "\n") "\n")))) + body) "\n") "\n"))) (defun org-babel-C-ensure-main-wrap (body) "Wrap body in a \"main\" function call if none exists."