[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kind-icon cea1a4c 2/2: Use kind t instead of blank
From: |
ELPA Syncer |
Subject: |
[elpa] externals/kind-icon cea1a4c 2/2: Use kind t instead of blank |
Date: |
Fri, 26 Nov 2021 17:57:20 -0500 (EST) |
branch: externals/kind-icon
commit cea1a4c527379329787607e0ada8f54673c328b9
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>
Use kind t instead of blank
---
kind-icon.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kind-icon.el b/kind-icon.el
index 06cefe3..ed716bb 100644
--- a/kind-icon.el
+++ b/kind-icon.el
@@ -275,7 +275,6 @@ background-color."
(defconst kind-icon--unknown
(propertize "???" 'face '(:weight bold :background "red")))
-(defconst kind-icon--blank " ")
(defun kind-icon-margin-formatter (metadata)
"Return a margin-formatter function which produces kind icons.
@@ -286,7 +285,7 @@ function to the relevant margin-formatters list."
(lambda (cand)
(if-let ((kind (funcall kind-func cand)))
(kind-icon-formatted kind)
- kind-icon--blank))))
+ (kind-icon-formatted t))))) ;; as a backup
(defun kind-icon--affixation-function (kind-func &optional ann-func)
"Create and return a custom kind-icon affixation function.