branch: externals/shell-command+ commit 2a93e08054bd44159d8f88eb379f8548d6b4a45f Author: Philip Kaludercic <phil...@posteo.net> Commit: Philip Kaludercic <phil...@posteo.net>
Avoid using format in shell-command+-cmd-sudo --- shell-command+.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-command+.el b/shell-command+.el index 1452d4c..5cd95e1 100644 --- a/shell-command+.el +++ b/shell-command+.el @@ -225,7 +225,7 @@ If EXPAND is non-nil, expand wildcards." (defun shell-command+-cmd-sudo (command) "Use TRAMP to execute COMMAND." - (let ((default-directory (format "/sudo::%s" default-directory))) + (let ((default-directory (concat "/sudo::" default-directory))) (shell-command command))) (defun shell-command+-cmd-cd (command)