Replace warn => warn!

This commit is contained in:
Henrik Lissner 2018-02-14 07:40:05 -05:00
parent 5ad4246cb9
commit bac73ec938
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
11 changed files with 31 additions and 31 deletions

View file

@ -2,14 +2,15 @@
(def-package! plantuml-mode
:mode "\\.p\\(lant\\)?uml$"
:config
:init
(setq plantuml-jar-path (concat doom-etc-dir "plantuml.jar"))
:config
(set! :popup "^\\*PLANTUML" '((size . 0.4)) '((select) (transient . 0)))
(unless (executable-find "java")
(warn "plantuml-mode: can't find java, preview disabled."))
(warn! "Couldn't find java. Disabling plantuml preview."))
(unless (file-exists-p plantuml-jar-path)
(warn "plantuml-mode: can't find plantuml.jar; run M-x +plantuml/install.")))
(warn! "Couldn't find plantuml.jar. Install it witInstall it with-x +plantuml/install.")))
(def-package! flycheck-plantuml