From ef8bdbc7c176515aafffcfe6ae0e6805a0634c2b Mon Sep 17 00:00:00 2001 From: Carlo Sciolla Date: Tue, 18 Oct 2016 12:46:39 +0200 Subject: [PATCH] #33 Emacs has an identity function after all, no need to replicate it --- plantuml-mode.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plantuml-mode.el b/plantuml-mode.el index fd16c74..a1fb014 100644 --- a/plantuml-mode.el +++ b/plantuml-mode.el @@ -89,9 +89,7 @@ (defun plantuml-render-command (&rest arguments) "Create a command line to execute PlantUML with arguments (as ARGUMENTS)." (let ((cmd (concat (plantuml-command-line) " " (shell-quote-argument plantuml-jar-path))) - (argstring (mapconcat (lambda (s) - "Identity function. Must already exist for Emacs somewhere." - s) arguments " "))) + (argstring (mapconcat 'identity arguments " "))) (concat cmd " " argstring))) ;;; syntax table