This patch changes the recommendation from +plantuml/install to plantuml-dowload-jar, when the plantuml.jar can't be found. The command +plantuml/install has been removed in a previous patch.
10 lines
392 B
EmacsLisp
10 lines
392 B
EmacsLisp
;; -*- lexical-binding: t; no-byte-compile: t; -*-
|
|
;;; lang/plantuml/doctor.el
|
|
|
|
(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 M-x plantuml-download-jar")))
|