mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-15 17:00:45 +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:
parent
0b9cc74c56
commit
8d27bf40d3
@ -52,7 +52,7 @@
|
|||||||
(org-babel-eval
|
(org-babel-eval
|
||||||
(concat org-babel-java-compiler " " src-file) ""))))
|
(concat org-babel-java-compiler " " src-file) ""))))
|
||||||
;; created package-name directories if missing
|
;; created package-name directories if missing
|
||||||
(unless (file-exists-p packagename)
|
(unless (or (not packagename) (file-exists-p packagename))
|
||||||
(make-directory packagename 'parents))
|
(make-directory packagename 'parents))
|
||||||
((lambda (results)
|
((lambda (results)
|
||||||
(org-babel-reassemble-table
|
(org-babel-reassemble-table
|
||||||
|
Loading…
Reference in New Issue
Block a user