Rewrite doctor; move warn! blocks out in doctor.el files

This commit is contained in:
Henrik Lissner 2018-03-12 13:16:16 -04:00
parent 5c36519dab
commit 74c8b1d113
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
16 changed files with 193 additions and 147 deletions

View file

@ -6,12 +6,7 @@
(setq plantuml-jar-path (concat doom-etc-dir "plantuml.jar")
org-plantuml-jar-path plantuml-jar-path)
:config
(set! :popup "^\\*PLANTUML" '((size . 0.4)) '((select) (transient . 0)))
(unless (executable-find "java")
(warn! "Couldn't find java. Disabling plantuml preview."))
(unless (file-exists-p plantuml-jar-path)
(warn! "Couldn't find plantuml.jar. Install it witInstall it with-x +plantuml/install.")))
(set! :popup "^\\*PLANTUML" '((size . 0.4)) '((select) (transient . 0))))
(def-package! flycheck-plantuml