From 11498bf86f4c17493b888f76acef04fa73064563 Mon Sep 17 00:00:00 2001 From: Vladimir Lomov Date: Tue, 1 Oct 2013 06:00:44 -0600 Subject: [PATCH] remove dangling 'padline' variable And seems that you miss another 'padline' in function 'org-babel-spec-to-string', line 323. I attached small patch which removes that line so I can tangle Org document with shell scripts. * lisp/ob-tangle.el (org-babel-spec-to-string): Remove dangling 'padline' variable. TINYPATCH --- lisp/ob-tangle.el | 1 - 1 file changed, 1 deletion(-) diff --git a/lisp/ob-tangle.el b/lisp/ob-tangle.el index 63d0a4736..f6557114b 100644 --- a/lisp/ob-tangle.el +++ b/lisp/ob-tangle.el @@ -322,7 +322,6 @@ that the appropriate major-mode is set. SPEC has the form: (insert-comment (lambda (text) (when (and comments (not (string= comments "no")) (> (length text) 0)) - (when padline (insert "\n")) (comment-region (point) (progn (insert text) (point))) (end-of-line nil) (insert "\n"))))) (when comment (funcall insert-comment comment))