[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/shell-command+ 2a93e08 1/4: Avoid using format in shell
From: |
ELPA Syncer |
Subject: |
[elpa] externals/shell-command+ 2a93e08 1/4: Avoid using format in shell-command+-cmd-sudo |
Date: |
Fri, 15 Oct 2021 09:57:36 -0400 (EDT) |
branch: externals/shell-command+
commit 2a93e08054bd44159d8f88eb379f8548d6b4a45f
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@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)