Commit fa80571d authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

org: avoid displaying the plantuml log during builds

* doc/org/.dir-locals.el.in, doc/org/init.el.in: Make sure plantuml is
started via "java -Djava.awt.headless".
parent 9ccdd8c6
...@@ -35,6 +35,13 @@ ...@@ -35,6 +35,13 @@
(org-babel-C++-compiler . "./g++wrap") (org-babel-C++-compiler . "./g++wrap")
(shell-file-name . "@SHELL@") (shell-file-name . "@SHELL@")
(org-export-html-postamble . nil) (org-export-html-postamble . nil)
(org-babel-default-header-args:plantuml
. ((:results . "file")
(:exports . "results")
; Prevent the plantuml logo to annoying appear on
; top of whatever you are doing when the project
; compiles in the background.
(:java . "-Djava.awt.headless")))
(org-publish-project-alist (org-publish-project-alist
. (("spot-html" . (("spot-html"
:base-directory "." :base-directory "."
......
...@@ -31,6 +31,14 @@ ...@@ -31,6 +31,14 @@
(setq org-babel-C++-compiler "./g++wrap") (setq org-babel-C++-compiler "./g++wrap")
(setq shell-file-name "@SHELL@") (setq shell-file-name "@SHELL@")
(setq org-babel-default-header-args:plantuml
'((:results . "file")
(:exports . "results")
;; prevent the plantuml logo to annoying appear on top of
;; whatever you are doing when the project compiles in the
;; background.
(:java . "-Djava.awt.headless")))
(setenv "PATH" (setenv "PATH"
(concat "@abs_top_builddir@/bin" path-separator (getenv "PATH"))) (concat "@abs_top_builddir@/bin" path-separator (getenv "PATH")))
(setenv "PYTHONPATH" (setenv "PYTHONPATH"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment