branch: externals/kind-icon
commit 6ba28476cb93173c22d5872f6b85c9fbc38cffa0
Author: JD Smith <[email protected]>
Commit: JD Smith <[email protected]>
Fix compilation warning
---
kind-icon.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/kind-icon.el b/kind-icon.el
index b94226a258..825ac190c4 100644
--- a/kind-icon.el
+++ b/kind-icon.el
@@ -215,6 +215,9 @@ float FRAC."
(plist-get completion-extra-properties (intern (format ":%s" type-name)))
(cdr (assq (intern type-name) metadata))))
+(defconst kind-icon--unknown
+ (propertize "???" 'face '(:weight bold :background "red")))
+
(defun kind-icon-formatted (kind)
"Return a formatted kind badge, either icon or text abbreviation.
Caches this badge in `kind-icon--cache', and returns the cached
@@ -277,9 +280,6 @@ background-color."
(propertize (concat pad-left "??" pad-right) 'face
font-lock-warning-face)))
kind-icon--unknown)))
-(defconst kind-icon--unknown
- (propertize "???" 'face '(:weight bold :background "red")))
-
(defun kind-icon-margin-formatter (metadata)
"Return a margin-formatter function which produces kind icons.
METADATA is the completion metadata supplied by the caller (see