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

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

[nongnu] elpa/helm 73b5ae25b2 3/3: Parenthesis looks better for process


From: ELPA Syncer
Subject: [nongnu] elpa/helm 73b5ae25b2 3/3: Parenthesis looks better for process names
Date: Thu, 20 Jul 2023 13:01:51 -0400 (EDT)

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

    Parenthesis looks better for process names
---
 helm-files.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/helm-files.el b/helm-files.el
index ae51f84566..94e70ad9cf 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -1328,7 +1328,9 @@ ACTION can be `rsync' or any action supported by 
`helm-dired-action'."
                                         (match-string 1 progbar)))))
       (if percent
           (format "%s%s%s%s"
-                  (propertize (capitalize (process-name proc))
+                  (propertize (capitalize (replace-regexp-in-string
+                                           "<\\([0-9]+\\)>" "(\\1)"
+                                           (process-name proc)))
                               'display '(height 0.9)
                               'face 'helm-ff-rsync-progress-1)
                   (propertize " " 'display `(space :width ,(list percent))



reply via email to

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