From 82b53c5fc5226f6a415d97eb48666a9278903191 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Wed, 27 Aug 2014 05:02:39 +0400 Subject: [PATCH] Fix WRT `keep-prefix' --- company.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/company.el b/company.el index b444493c4..c1671aac6 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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -- 2.39.2