diff options
author | Dan Davison <davison@stats.ox.ac.uk> | 2010-10-21 11:28:11 +0100 |
---|---|---|
committer | Dan Davison <davison@stats.ox.ac.uk> | 2010-10-21 13:06:01 +0100 |
commit | 86418567cdf7e0b583563b5679d04752f70f55dd (patch) | |
tree | 7f859f637aaa4c7c6771a084f6bf59f53bd13d20 | |
parent | bdbc4961c8658d3059d4c8d8521b10cdc4df1b54 (diff) | |
download | org-mode-86418567cdf7e0b583563b5679d04752f70f55dd.tar.gz |
babel: C: Don't trim body when expanding
* ob-C.el (org-babel-C-expand): Don't trim body
-rw-r--r-- | lisp/ob-C.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/ob-C.el b/lisp/ob-C.el index 90eeb7f..41927b8 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." |