[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 1b9a7ac014 1/4: Fix vestiges of old code not removed
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 1b9a7ac014 1/4: Fix vestiges of old code not removed (rsync) |
Date: |
Thu, 7 Sep 2023 12:59:35 -0400 (EDT) |
branch: elpa/helm
commit 1b9a7ac0145db9e841fb6a30ae7d5085db7daec4
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Fix vestiges of old code not removed (rsync)
---
helm-files.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/helm-files.el b/helm-files.el
index 2cd5bb310a..e405ea1ad3 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -1325,9 +1325,9 @@ ACTION can be `rsync' or any action supported by
`helm-dired-action'."
(`remain (nth 3 infos))))
(helm-mklist helm-ff-rsync-progress-bar-info)
", "))
- (setq percent (and (string-match "\\([0-9]+\\)%" progbar)
- (setq percent (string-to-number
- (match-string 1 progbar)))))
+ (when (string-match "\\([0-9]+\\)%" progbar)
+ (setq percent (string-to-number
+ (match-string 1 progbar))))
(if percent
(format "%s%s%s%s"
(propertize (capitalize (replace-regexp-in-string