1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-28 10:56:57 +00:00

ob-java: don't create empty package directories

* lisp/ob-java.el (org-babel-execute:java): Don't create empty package
  directories.
This commit is contained in:
Eric Schulte 2011-07-19 08:45:49 -06:00
parent 0b9cc74c56
commit 8d27bf40d3

View File

@ -52,7 +52,7 @@
(org-babel-eval
(concat org-babel-java-compiler " " src-file) ""))))
;; created package-name directories if missing
(unless (file-exists-p packagename)
(unless (or (not packagename) (file-exists-p packagename))
(make-directory packagename 'parents))
((lambda (results)
(org-babel-reassemble-table