]> code.delx.au - gnu-emacs-elpa/commitdiff
company-diag: Fix the annotation call
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 2 Mar 2015 01:45:58 +0000 (03:45 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 2 Mar 2015 01:45:58 +0000 (03:45 +0200)
company.el

index 0652fc3bf758783483868305b7ab89b0d133a20f..e8d8db7fe24273bd1d8de880ab6867c748986ea0 100644 (file)
@@ -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))))