plantuml-mode recipe

This commit is contained in:
David Holm 2014-04-05 13:01:48 +02:00
parent 71a4f402e3
commit 3807325ac3

10
recipes/plantuml-mode.rcp Normal file
View File

@ -0,0 +1,10 @@
(:name plantuml-mode
:description "Major mode for PlantUML."
:type github
:pkgname "zwz/plantuml-mode"
:post-init (let ((plantuml-url "http://sourceforge.net/projects/plantuml/files/plantuml.jar/download")
(plantuml-jar (expand-file-name "plantuml.jar" default-directory)))
(when (not (file-exists-p plantuml-jar))
(url-copy-file plantuml-url plantuml-jar)))
:prepare (setq plantuml-jar-path
(expand-file-name "plantuml.jar" default-directory)))