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

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

[elpa] externals/company f94a3ef: company-text-icons--extract-property:


From: ELPA Syncer
Subject: [elpa] externals/company f94a3ef: company-text-icons--extract-property: Turn into a plain defun
Date: Wed, 5 May 2021 17:57:06 -0400 (EDT)

branch: externals/company
commit f94a3ef2900028200f346ac2e64262d3859dbf08
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    company-text-icons--extract-property: Turn into a plain defun
    
    No measurable difference in performance.
---
 company.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/company.el b/company.el
index 6a7c57c..28f61fc 100644
--- a/company.el
+++ b/company.el
@@ -1556,7 +1556,7 @@ See `company-text-icons-mapping'."
 (declare-function color-rgb-to-hex "color")
 (declare-function color-gradient "color")
 
-(cl-defsubst company-text-icons--extract-property (face property)
+(defun company-text-icons--extract-property (face property)
   "Try to extract PROPERTY from FACE.
 If FACE isn't a valid face return FACE as is. If FACE doesn't have
 PROPERTY return nil."



reply via email to

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