[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm b2cf2a9c4b 2/4: Fix unwanted leading space on unknown
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm b2cf2a9c4b 2/4: Fix unwanted leading space on unknown candidate in CRM |
Date: |
Mon, 20 May 2024 13:00:09 -0400 (EDT) |
branch: elpa/helm
commit b2cf2a9c4b48ac336bd9886045e47d36d4f9e561
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Fix unwanted leading space on unknown candidate in CRM
---
helm-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/helm-mode.el b/helm-mode.el
index f73fb4e979..01f41eaada 100644
--- a/helm-mode.el
+++ b/helm-mode.el
@@ -874,8 +874,8 @@ that use `helm-comp-read'. See `helm-M-x' for example."
(replace-regexp-in-string "\\s\\" ""
helm-pattern))))
(unless (string= pat "")
(list (cons (helm-aand (propertize "[?]" 'face
'helm-ff-prefix)
- (propertize " " 'display
it 'unknown t)
- (concat it pat))
+ (propertize
+ pat 'display (concat it
pat) 'unknown t))
pat)))))))
(src (helm-build-sync-source name
:candidates get-candidates