Browse Source

babel: C: Don't trim body when expanding

	* ob-C.el (org-babel-C-expand): Don't trim body
Dan Davison 14 years ago
parent
commit
86418567cd
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lisp/ob-C.el

+ 1 - 2
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."