simplified implementation of :file-desc header argument
commit670c7f31cc0551b1b051c721e22e599e7f0a3484
authorEric Schulte <eric.schulte@gmx.com>
Sat, 31 Mar 2012 14:04:31 +0000 (31 10:04 -0400)
committerEric Schulte <eric.schulte@gmx.com>
Sat, 31 Mar 2012 18:59:26 +0000 (31 14:59 -0400)
tree5cedfa5086628f1d927ac797e26a8ba142245e8d
parent1193844018ebde65964565bacfe160c2a49666c6
simplified implementation of :file-desc header argument

  This will no longer insert the value of the :file header argument as
  the description if the description is left blank (as this changes
  the meaning of the :file header argument).

  The desc handling logic is moved to the `org-babel-result-to-file'
  function.

* lisp/ob.el (org-babel-result-to-file): New optional description
  argument.
  (org-babel-insert-result): Moved description logic to another
  function.
lisp/ob.el