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

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

[nongnu] elpa/helm 9948cd3512 2/3: Remove one unuseful 'and' in rsync co


From: ELPA Syncer
Subject: [nongnu] elpa/helm 9948cd3512 2/3: Remove one unuseful 'and' in rsync command
Date: Sat, 22 Jul 2023 13:01:46 -0400 (EDT)

branch: elpa/helm
commit 9948cd3512fe190a7276ebc39ecceaaaea099202
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Remove one unuseful 'and' in rsync command
---
 helm-files.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/helm-files.el b/helm-files.el
index 92f4da8019..f74b626401 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -1384,10 +1384,10 @@ DEST must be a directory.  SWITCHES when unspecified 
default to
                                       ;; unless user already specified
                                       ;; it himself with the -e option
                                       ;; by editing command.
-                                      (and switches
-                                           (cl-loop for arg in switches never
-                                                    (string-match-p
-                                                     "\\`-e" arg)))
+                                      switches
+                                      (cl-loop for arg in switches never
+                                               (string-match-p
+                                                "\\`-e" arg))
                                       (list (format "-e 'ssh -p %s'"
                                                     port)))
                                  files (list dest))



reply via email to

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