[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/detached 1fcffef0fa: Update detached's dired integratio
From: |
ELPA Syncer |
Subject: |
[elpa] externals/detached 1fcffef0fa: Update detached's dired integration |
Date: |
Fri, 1 Jul 2022 07:57:31 -0400 (EDT) |
branch: externals/detached
commit 1fcffef0fa2eb52b0aad18e7b752bf00aa929397
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Update detached's dired integration
Make sure to remove the potential trailing & which originates from
users calling dired-do-async-shell-command. This is not required since
the program will be launched in a detached process.
---
detached-dired.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/detached-dired.el b/detached-dired.el
index 673b1321d9..6b353a7742 100644
--- a/detached-dired.el
+++ b/detached-dired.el
@@ -38,7 +38,9 @@
(lambda (command)
(detached-start-session command)
nil)))
- (apply dired-do-shell-command args)))
+ (pcase-let* ((`(,command ,arg ,file-list) args)
+ (modified-args `(,(string-remove-suffix " &" command) ,arg
,file-list)))
+ (apply dired-do-shell-command modified-args))))
(provide 'detached-dired)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/detached 1fcffef0fa: Update detached's dired integration,
ELPA Syncer <=