Comments
Patch
@@ -2211,13 +2211,16 @@ block but are passed literally to the \"example-block\"."
(nth 4 i))
source-name)
(let* ((body (org-babel-expand-noweb-references i))
- (full (if comment
+ (padded (if (not (string= "no" (cdr (assoc :padline (nth 2 i)))))
+ (concat body "\n")
+ body ))
+ (full (if comment
((lambda (cs)
(concat (c-wrap (car cs)) "\n"
- body "\n"
+ padded "\n"
(c-wrap (cadr cs))))
(org-babel-tangle-comment-links i))
- body)))
+ padded)))
(setq expansion (concat expansion full))))))))
expansion)
;; possibly raise an error if named block doesn't exist