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:
parent
9ccdd8c618
commit
fa80571d44
2 changed files with 15 additions and 0 deletions
|
|
@ -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 @@
|
||||||
(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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue