Make sure plantuml.jar is looked up in the correct directory
Still, XDG_DOWNLOAD_DIR is not the best candidate…
This commit is contained in:
parent
4bb49bc9d4
commit
05f5b373c4
9
init.el
9
init.el
@ -617,7 +617,14 @@
|
||||
:ensure t
|
||||
:init
|
||||
(setq plantuml-jar-path
|
||||
(expand-file-name "~/Downloads/plantuml.jar"))
|
||||
(expand-file-name
|
||||
;; Make sure we have a download location even if XDG is not
|
||||
;; working
|
||||
(cond
|
||||
((xdg-user-dir "DOWNLOAD")
|
||||
(concat (xdg-user-dir "DOWNLOAD") "/plantuml.jar"))
|
||||
(t
|
||||
"~/Downloads/plantuml.jar"))))
|
||||
(defvaralias 'org-plantuml-jar-path 'plantuml-jar-path)
|
||||
:config
|
||||
(org-babel-do-load-languages
|
||||
|
Loading…
Reference in New Issue
Block a user