From e0f2769d12c939031ec07d41e1f3673913e22780 Mon Sep 17 00:00:00 2001 From: Bjarte Johansen Date: Sat, 30 May 2015 16:37:23 +0200 Subject: [PATCH] use format instead of concat --- ob-prolog.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ob-prolog.el b/ob-prolog.el index db0bccd..e55b88b 100644 --- a/ob-prolog.el +++ b/ob-prolog.el @@ -58,7 +58,10 @@ (replace-regexp-in-string "'" "\\'" value))) ((listp value) - (concat "[" (mapconcat #'org-babel-prolog--elisp-to-pl value ", ") "]")) + (format "[%s]" + (mapconcat #'org-babel-prolog--elisp-to-pl + value + ", "))) (t (prin1-to-string value)))) (defun org-babel-prolog--variable-assignment (pair)