From 5733f2b7d21f8aef9fff113d7a46a2302d71cd00 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Mon, 2 Mar 2015 03:45:58 +0200 Subject: [PATCH] company-diag: Fix the annotation call --- company.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/company.el b/company.el index 0652fc3bf..e8d8db7fe 100644 --- a/company.el +++ b/company.el @@ -2171,7 +2171,7 @@ If SHOW-VERSION is non-nil, show the version in the echo area." (let ((company-backend backend)) (dolist (c cc) (insert "\n " (prin1-to-string c)) - (let ((ann (company-call-backend 'annotation))) + (let ((ann (company-call-backend 'annotation c))) (when ann (insert " " (prin1-to-string ann)))))) (special-mode)))) -- 2.39.2