Rewrite doctor; move warn! blocks out in doctor.el files
This commit is contained in:
parent
5c36519dab
commit
74c8b1d113
16 changed files with 193 additions and 147 deletions
9
modules/lang/plantuml/doctor.el
Normal file
9
modules/lang/plantuml/doctor.el
Normal file
|
@ -0,0 +1,9 @@
|
|||
;;; lang/plantuml/doctor.el -*- lexical-binding: t; -*-
|
||||
|
||||
(when (require 'plantuml-mode nil t)
|
||||
;; java
|
||||
(unless (executable-find "java")
|
||||
(warn! "Couldn't find java. PlantUML preview or syntax checking won't work"))
|
||||
;; plantuml.jar
|
||||
(unless (file-exists-p plantuml-jar-path)
|
||||
(warn! "Couldn't find plantuml.jar. Install it with-x +plantuml/install")))
|
Loading…
Add table
Add a link
Reference in a new issue