summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Lomov <lomov.vl@gmail.com>2013-10-01 06:00:44 -0600
committerEric Schulte <schulte.eric@gmail.com>2013-10-01 06:00:44 -0600
commit11498bf86f4c17493b888f76acef04fa73064563 (patch)
tree114ae93160d12c11ad84799ba47fd79bbffc9db3
parente0dd999a7b3cacf33f95a7da31f8d1b926ee610d (diff)
downloadorg-mode-11498bf86f4c17493b888f76acef04fa73064563.tar.gz
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
-rw-r--r--lisp/ob-tangle.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/ob-tangle.el b/lisp/ob-tangle.el
index 63d0a47..f655711 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))