mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
prefer jar for PlantUML if available
This commit is contained in:
@ -9,8 +9,8 @@
|
|||||||
(set-popup-rule! "^\\*PLANTUML" :size 0.4 :select nil :ttl 0)
|
(set-popup-rule! "^\\*PLANTUML" :size 0.4 :select nil :ttl 0)
|
||||||
|
|
||||||
(setq plantuml-default-exec-mode
|
(setq plantuml-default-exec-mode
|
||||||
(cond ((executable-find "plantuml") 'executable)
|
(cond ((file-exists-p plantuml-jar-path) 'jar)
|
||||||
((file-exists-p plantuml-jar-path) 'jar)
|
((executable-find "plantuml") 'executable)
|
||||||
(plantuml-default-exec-mode))))
|
(plantuml-default-exec-mode))))
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user