phobos.el: use format rather than concat
This commit is contained in:
parent
7680075bcf
commit
98bc3c6095
1 changed files with 3 additions and 2 deletions
|
@ -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 <https://dlang.org>."
|
||||
(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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue