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

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

[elpa] externals/company 33db4e4 4/5: (margin): Remove propertize call i


From: ELPA Syncer
Subject: [elpa] externals/company 33db4e4 4/5: (margin): Remove propertize call in text margin function
Date: Wed, 31 Mar 2021 12:57:09 -0400 (EDT)

branch: externals/company
commit 33db4e497995691003a64a4141127bfebb790d7b
Author: Mohsin Kaleem <mohkale@kisara.moe>
Commit: Mohsin Kaleem <mohkale@kisara.moe>

    (margin): Remove propertize call in text margin function
---
 company.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/company.el b/company.el
index 2da714f..5b75812 100644
--- a/company.el
+++ b/company.el
@@ -1482,10 +1482,7 @@ end of the match."
   (when-let ((candidate candidate)
              (kind (company-call-backend 'kind candidate))
              (icon (alist-get kind company-text-icons-mapping)))
-    (propertize icon
-                'face (if selected
-                          'company-tooltip-selection
-                        'company-tooltip))))
+    icon))
 
 (defun company-detect-icons-margin (candidate selected)
   "Margin function which picks from vscodes icons or unicode icons



reply via email to

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