emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 23/28: Fix WRT `keep-prefix'


From: Dmitry Gutov
Subject: [elpa] 23/28: Fix WRT `keep-prefix'
Date: Wed, 27 Aug 2014 01:26:37 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit 82b53c5fc5226f6a415d97eb48666a9278903191
Author: Dmitry Gutov <address@hidden>
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

[Prev in Thread] Current Thread [Next in Thread]