[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 7d40ee881d 1/6: Fix package affixation fn
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 7d40ee881d 1/6: Fix package affixation fn |
Date: |
Sat, 12 Aug 2023 03:59:56 -0400 (EDT) |
branch: elpa/helm
commit 7d40ee881df481550399460e1dfe3fd6777b8de9
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Fix package affixation fn
---
helm-mode.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/helm-mode.el b/helm-mode.el
index 1ff3758a19..84c796447f 100644
--- a/helm-mode.el
+++ b/helm-mode.el
@@ -1112,7 +1112,8 @@ is used."
(defun helm-completion-package-affix (_completions)
(lambda (comp)
(let* ((sym (intern-soft comp))
- (desc (package-desc-summary (package-get-descriptor sym)))
+ (desc (helm-aand (package-get-descriptor sym)
+ (package-desc-summary it)))
(sep (make-string (1+ (- (buffer-local-value
'helm-candidate-buffer-longest-len
(get-buffer (helm-candidate-buffer)))
@@ -1120,8 +1121,10 @@ is used."
? )))
(list comp
""
- (helm-aand (propertize (concat sep desc) 'face
'font-lock-warning-face)
- (propertize " " 'display it))))))
+ (or (helm-aand desc
+ (propertize (concat sep it) 'face
'font-lock-warning-face)
+ (propertize " " 'display it))
+ "")))))
;;; Generic completing read
;;
- [nongnu] elpa/helm updated (5afd7a438a -> 8ca4af16d7), ELPA Syncer, 2023/08/12
- [nongnu] elpa/helm 0c8cec57b6 2/6: New function to get longest cand and use it, ELPA Syncer, 2023/08/12
- [nongnu] elpa/helm 171a49ed16 4/6: Remove helm-elisp-package.el, ELPA Syncer, 2023/08/12
- [nongnu] elpa/helm 7d40ee881d 1/6: Fix package affixation fn,
ELPA Syncer <=
- [nongnu] elpa/helm ecb1885a2f 5/6: Remove references to helm-elisp-package, ELPA Syncer, 2023/08/12
- [nongnu] elpa/helm fb4996050e 3/6: Put helm-only prop on helm-ff-undo, ELPA Syncer, 2023/08/12
- [nongnu] elpa/helm 8ca4af16d7 6/6: Declare package fns in helm-mode, ELPA Syncer, 2023/08/12