As per @adm code review

This commit is contained in:
Carlo Sciolla 2016-10-18 16:05:22 +02:00
parent 60fbee8d6f
commit e944b7ae61
1 changed files with 1 additions and 3 deletions

View File

@ -82,9 +82,7 @@
(defun plantuml-command-line () (defun plantuml-command-line ()
"Compose the PlantUML command line as a string." "Compose the PlantUML command line as a string."
(apply 'concat plantuml-java-command (apply 'concat plantuml-java-command
(map 'list (lambda(s) (mapconcat 'identity (cons plantuml-java-command plantuml-java-args) " ")))
"Add spaces around a given Java argument (as S)."
(format " %s " s)) plantuml-java-args)))
(defun plantuml-render-command (&rest arguments) (defun plantuml-render-command (&rest arguments)
"Create a command line to execute PlantUML with arguments (as ARGUMENTS)." "Create a command line to execute PlantUML with arguments (as ARGUMENTS)."