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".
This commit is contained in:
Alexandre Duret-Lutz 2016-10-07 15:29:41 +02:00
parent 9ccdd8c618
commit fa80571d44
2 changed files with 15 additions and 0 deletions

View file

@ -31,6 +31,14 @@
(setq org-babel-C++-compiler "./g++wrap")
(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"
(concat "@abs_top_builddir@/bin" path-separator (getenv "PATH")))
(setenv "PYTHONPATH"