branch: externals/org commit f9dcc3d665f06ef76ef14386e55854a06d2d0c39 Author: Sun Lin <sunl...@yahoo.com> Commit: TEC <t...@tecosaur.com>
ob-plantuml: fix DISPLAY error with html export * lisp/ob-plantuml.el (org-babel-execute:plantuml): Use headless mode for Org calling plantuml for exporting to html to avoid issues with operations that normally try to access the system graphics stack. --- lisp/ob-plantuml.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/ob-plantuml.el b/lisp/ob-plantuml.el index fc62160..7d92227 100644 --- a/lisp/ob-plantuml.el +++ b/lisp/ob-plantuml.el @@ -122,6 +122,7 @@ This function is called by `org-babel-execute-src-block'." ((not (file-exists-p org-plantuml-jar-path)) (error "Could not find plantuml.jar at %s" org-plantuml-jar-path)) (t (list java + "-Djava.awt.headless=true" "-jar" (shell-quote-argument (expand-file-name org-plantuml-jar-path)))))) (full-body (org-babel-plantuml-make-body body params))