dgutov pushed a commit to branch master
in repository elpa.

commit 82b53c5fc5226f6a415d97eb48666a9278903191
Author: Dmitry Gutov <dgu...@yandex.ru>
Date:   Wed Aug 27 05:02:39 2014 +0400

    Fix WRT `keep-prefix'
---
 company.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/company.el b/company.el
index b444493..c1671aa 100644
--- a/company.el
+++ b/company.el
@@ -2552,7 +2552,8 @@ Returns a negative number if the tooltip should be 
displayed above point."
 (defun company--show-inline-p ()
   (and (not (cdr company-candidates))
        company-common
-       (string-prefix-p company-prefix company-common)))
+       (or (eq (company-call-backend 'ignore-case) 'keep-prefix)
+           (string-prefix-p company-prefix company-common))))
 
 ;;; echo 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 

Reply via email to