babel: fixing issues with org-babel-temporary-directory
commit055f0e621e458efdae6beb13d8122dfdbcb12338
authorEric Schulte <schulte.eric@gmail.com>
Fri, 1 Oct 2010 20:07:58 +0000 (1 14:07 -0600)
committerEric Schulte <schulte.eric@gmail.com>
Fri, 1 Oct 2010 20:08:23 +0000 (1 14:08 -0600)
tree5a6d2c409cc3c3410b758c5611e4e24c0d72fbe8
parent773307d61a2189000e068e5d3f8f3b5c4a44cdc9
babel: fixing issues with org-babel-temporary-directory

  Thanks to Achim Gratz

* lisp/ob.el (or): don't create org-babel-temporary-directory in batch
  as it won't be removed by emacs-kill-hook
  (org-babel-remove-temporary-directory): only try to remove this
  directory if it exists
lisp/ob.el