From e944b7ae61fa3991fea1bd0fbb3531a49a9e806d Mon Sep 17 00:00:00 2001 From: Carlo Sciolla Date: Tue, 18 Oct 2016 16:05:22 +0200 Subject: [PATCH] As per @adm code review --- plantuml-mode.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plantuml-mode.el b/plantuml-mode.el index c2f2d0f..16c2abe 100644 --- a/plantuml-mode.el +++ b/plantuml-mode.el @@ -82,9 +82,7 @@ (defun plantuml-command-line () "Compose the PlantUML command line as a string." (apply 'concat plantuml-java-command - (map 'list (lambda(s) - "Add spaces around a given Java argument (as S)." - (format " %s " s)) plantuml-java-args))) + (mapconcat 'identity (cons plantuml-java-command plantuml-java-args) " "))) (defun plantuml-render-command (&rest arguments) "Create a command line to execute PlantUML with arguments (as ARGUMENTS)."