[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm c93890c226 2/3: No need to use helm-aif now
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm c93890c226 2/3: No need to use helm-aif now |
Date: |
Thu, 20 Jul 2023 13:01:51 -0400 (EDT) |
branch: elpa/helm
commit c93890c22609ecf303385593b060c335f197e91a
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
No need to use helm-aif now
---
helm-files.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/helm-files.el b/helm-files.el
index 6bb58594d6..ae51f84566 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -1326,12 +1326,12 @@ ACTION can be `rsync' or any action supported by
`helm-dired-action'."
(setq percent (and (string-match "\\([0-9]+\\)%" progbar)
(setq percent (string-to-number
(match-string 1 progbar)))))
- (helm-aif percent
+ (if percent
(format "%s%s%s%s"
(propertize (capitalize (process-name proc))
'display '(height 0.9)
'face 'helm-ff-rsync-progress-1)
- (propertize " " 'display `(space :width ,(list it))
+ (propertize " " 'display `(space :width ,(list percent))
'face 'helm-ff-rsync-progress-2)
(propertize " " 'display `(space :width ,(list (- 100
percent)))
'face 'helm-ff-rsync-progress-3)