fix(plantuml): ref to incorrect jar path variable

This commit is contained in:
Henrik Lissner 2024-08-23 16:32:17 -04:00
parent e750d84a47
commit 9df815a450
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -34,7 +34,7 @@ This function is called by `org-babel-execute-src-block'."
(concat (shell-quote-argument (executable-find plantuml-executable-path)) (concat (shell-quote-argument (executable-find plantuml-executable-path))
" --headless")) " --headless"))
((not (file-exists-p plantuml-jar-path)) ((not (file-exists-p plantuml-jar-path))
(error "Could not find plantuml.jar at %s" org-plantuml-jar-path)) (error "Could not find plantuml.jar at %s" plantuml-jar-path))
((concat "java " (cdr (assoc :java params)) " -jar " ((concat "java " (cdr (assoc :java params)) " -jar "
(shell-quote-argument (shell-quote-argument
(expand-file-name plantuml-jar-path))))) (expand-file-name plantuml-jar-path)))))