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
This commit is contained in:
parent
e0dd999a7b
commit
11498bf86f
|
@ -322,7 +322,6 @@ that the appropriate major-mode is set. SPEC has the form:
|
||||||
(insert-comment (lambda (text)
|
(insert-comment (lambda (text)
|
||||||
(when (and comments (not (string= comments "no"))
|
(when (and comments (not (string= comments "no"))
|
||||||
(> (length text) 0))
|
(> (length text) 0))
|
||||||
(when padline (insert "\n"))
|
|
||||||
(comment-region (point) (progn (insert text) (point)))
|
(comment-region (point) (progn (insert text) (point)))
|
||||||
(end-of-line nil) (insert "\n")))))
|
(end-of-line nil) (insert "\n")))))
|
||||||
(when comment (funcall insert-comment comment))
|
(when comment (funcall insert-comment comment))
|
||||||
|
|
Loading…
Reference in New Issue