ob: new header argument `padline' controls newline padding around tangled code
commitd0a4ed53f16ec84e042e7bb845ea80f6377c30cc
authorEric Schulte <schulte.eric@gmail.com>
Tue, 15 Mar 2011 17:11:26 +0000 (15 11:11 -0600)
committerEric Schulte <schulte.eric@gmail.com>
Tue, 15 Mar 2011 17:16:09 +0000 (15 11:16 -0600)
tree5392258655fb6c34b39770737460a1e21ba266bc
parentae68febfbbc7719c612207256aa553de05617685
ob: new header argument `padline' controls newline padding around tangled code

* lisp/ob-tangle.el (org-babel-spec-to-string): Check value of padline
  on tangling, no longer use the now-removed variable
  `org-babel-tangle-pad-newline'.
* lisp/ob.el (org-babel-header-arg-names): Add padline to the list of
  header argument names.
  (org-babel-default-header-args): Set the default value of padline to
  "yes".
  (org-babel-merge-params): Cleaned up the merge logic, added padline.
* doc/org.texi (padline): Documentation of the new padline header
  argument.
doc/org.texi
lisp/ob-tangle.el
lisp/ob.el