emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/dired-duplicates f821380a4f 2/2: Use process-file inste


From: ELPA Syncer
Subject: [elpa] externals/dired-duplicates f821380a4f 2/2: Use process-file instead of call-process
Date: Sat, 4 Nov 2023 21:57:41 -0400 (EDT)

branch: externals/dired-duplicates
commit f821380a4fea30021f2b977f502dac864d4776bb
Author: Harald Judt <h.judt@gmx.at>
Commit: Harald Judt <h.judt@gmx.at>

    Use process-file instead of call-process
    
    call-process does not work for TRAMP locations, one has to use process-file.
    
    Signed-off-by: Harald Judt <h.judt@gmx.at>
---
 dired-duplicates.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dired-duplicates.el b/dired-duplicates.el
index 99ba39a059..c4099449db 100644
--- a/dired-duplicates.el
+++ b/dired-duplicates.el
@@ -103,7 +103,7 @@ The executable used is defined by 
`dired-duplicates-checksum-exec'."
     (unless exec
       (user-error "Checksum program %s not found in `exec-path'" exec))
     (with-temp-buffer
-      (unless (zerop (call-process exec nil t nil file))
+      (unless (zerop (process-file exec nil t nil file))
         (error "Failed to start checksum program %s" exec))
       (goto-char (point-min))
       (if (looking-at "\\`[[:alnum:]]+")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]