branch: externals/company commit 0a0cdad605fcd0f985cc7818734a174fb8d07d2c Author: Dmitry Gutov <dmi...@gutov.dev> Commit: Dmitry Gutov <dmi...@gutov.dev>
Fix byte-compilation warning --- company.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/company.el b/company.el index f471fcc6e0..56dd0a9129 100644 --- a/company.el +++ b/company.el @@ -3647,7 +3647,8 @@ If SHOW-VERSION is non-nil, show the version in the echo area." (mapcar (lambda (c) (cons c (company-call-backend 'annotation c))) cc) - current-capf (car company-capf--current-completion-data)) + current-capf (car (bound-and-true-p + company-capf--current-completion-data))) (error (setq annotations 'error))))) (pop-to-buffer (get-buffer-create "*company-diag*")) (setq buffer-read-only nil)