[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/company 4c08ef4 2/2: Fix tests
From: |
ELPA Syncer |
Subject: |
[elpa] externals/company 4c08ef4 2/2: Fix tests |
Date: |
Sat, 2 Oct 2021 13:57:09 -0400 (EDT) |
branch: externals/company
commit 4c08ef468678bbf3b3c9e750f6e694eea1aa8423
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
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))))