From 98bc3c6095c829f8442ffe640d66a50e247d2b40 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Wed, 17 Jul 2024 17:48:00 +1200 Subject: [PATCH] phobos.el: use format rather than concat --- phobos.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/phobos.el b/phobos.el index ffb11ab..6268609 100644 --- a/phobos.el +++ b/phobos.el @@ -38,7 +38,8 @@ or any other symbol part of a standard module, such as object.Exception. Phobos is the standard library for the D programming language. For more information on Phobos and the D programming language, see ." (interactive "MModule or symbol: ") - (shell-command (concat phobos-browser " " phobos-root "/" - (string-replace "." "/" symbol) ".html"))) + (shell-command (format "%s %s/%s.html" + phobos-browser phobos-root + (string-replace "." "/" symbol)))) (provide 'phobos)