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

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

[nongnu] elpa/helm f7a4a9390c: Use helm-make-separator in helm-packages-


From: ELPA Syncer
Subject: [nongnu] elpa/helm f7a4a9390c: Use helm-make-separator in helm-packages-transformer (#2691)
Date: Wed, 4 Dec 2024 13:00:44 -0500 (EST)

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

    Use helm-make-separator in helm-packages-transformer (#2691)
---
 helm-packages.el | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/helm-packages.el b/helm-packages.el
index 8a1f82e10b..1194d4cd51 100644
--- a/helm-packages.el
+++ b/helm-packages.el
@@ -238,9 +238,7 @@ Arg PACKAGES is a list of strings."
                                  (t 'font-lock-keyword-face))
                                'match-part c)
                               ;; Separator.
-                              (make-string (1+ (- 
(helm-in-buffer-get-longest-candidate)
-                                                  (length c)))
-                                           ? )
+                              (helm-make-separator c)
                               ;; Package status.
                               (propertize
                                (or status "")
@@ -249,15 +247,15 @@ Arg PACKAGES is a list of strings."
                                        ("disabled" 
'font-lock-property-name-face)
                                        (t 'default)))
                               ;; Separator.
-                              (make-string (1+ (- 10 (length status))) ? )
+                              (helm-make-separator status 10)
                               ;; Package provider.
                               (or provider "")
                               ;; Separator.
-                              (make-string (1+ (- 10 (length provider))) ? )
+                              (helm-make-separator provider 10)
                               ;; Package version.
                               (or version "")
                               ;; Separator.
-                              (make-string (1+ (- 20 (length version))) ? )
+                              (helm-make-separator version 20)
                               ;; Package description.
                               (if description
                                   (propertize description 'face 
'font-lock-warning-face)



reply via email to

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