#33 Emacs has an identity function after all, no need to replicate it

This commit is contained in:
Carlo Sciolla 2016-10-18 12:46:39 +02:00
parent 16df886fb3
commit ef8bdbc7c1
1 changed files with 1 additions and 3 deletions

View File

@ -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