emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org f9dcc3d: ob-plantuml: fix DISPLAY error with html e


From: ELPA Syncer
Subject: [elpa] externals/org f9dcc3d: ob-plantuml: fix DISPLAY error with html export
Date: Mon, 29 Nov 2021 23:57:24 -0500 (EST)

branch: externals/org
commit f9dcc3d665f06ef76ef14386e55854a06d2d0c39
Author: Sun Lin <sunlin7@yahoo.com>
Commit: TEC <tec@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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]