branch: externals/company
commit 4c08ef468678bbf3b3c9e750f6e694eea1aa8423
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    Fix tests
---
 company.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/company.el b/company.el
index b2bde38..d1ab486 100644
--- a/company.el
+++ b/company.el
@@ -2989,7 +2989,7 @@ If SHOW-VERSION is non-nil, show the version in the echo 
area."
 
 (defun company-fill-propertize (value annotation width selected left right)
   (let* ((margin (length left))
-         (company-common (company--clean-string company-common))
+         (company-common (and company-common (company--clean-string 
company-common)))
          (common (company--common-or-matches value))
          (_ (setq value (company-reformat (company--pre-render value))
                   annotation (and annotation (company--pre-render annotation 
t))))

Reply via email to