[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 4f2d27e 02/31: Avoid using company-preview-frontend when i
From: |
Dmitry Gutov |
Subject: |
[elpa] master 4f2d27e 02/31: Avoid using company-preview-frontend when it'll be invisible |
Date: |
Sun, 14 Apr 2019 22:06:14 -0400 (EDT) |
branch: master
commit 4f2d27ee8a5e74778911dc63d5aa0122bfffe0d4
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Avoid using company-preview-frontend when it'll be invisible
#150 #205 #451
---
company.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/company.el b/company.el
index a1e72ab..9a04201 100644
--- a/company.el
+++ b/company.el
@@ -3042,6 +3042,9 @@ Delay is determined by `company-tooltip-idle-delay'."
(defun company--show-inline-p ()
(and (not (cdr company-candidates))
company-common
+ (not (eq t (compare-strings company-prefix nil nil
+ (car company-candidates) nil nil
+ t)))
(or (eq (company-call-backend 'ignore-case) 'keep-prefix)
(string-prefix-p company-prefix company-common))))
- [elpa] master updated (a2911f6 -> 5deda28), Dmitry Gutov, 2019/04/14
- [elpa] master 4f2d27e 02/31: Avoid using company-preview-frontend when it'll be invisible,
Dmitry Gutov <=
- [elpa] master 201577c 01/31: Begin completion on a unique match if the user really wants that, Dmitry Gutov, 2019/04/14
- [elpa] master efb76d3 06/31: Add a couple of tests for 'unique' behavior, Dmitry Gutov, 2019/04/14
- [elpa] master e5408b5 07/31: Add a clarifying message, Dmitry Gutov, 2019/04/14
- [elpa] master 8576100 08/31: Add a NEWS entry, Dmitry Gutov, 2019/04/14
- [elpa] master 5d3e689 03/31: Update the remaining callers of company-calculate-candidates, Dmitry Gutov, 2019/04/14
- [elpa] master f53327b 12/31: Merge pull request #858 from nikital/tng-fix-lookup-key, Dmitry Gutov, 2019/04/14
- [elpa] master 3873c4a 05/31: Remove outdated comment, Dmitry Gutov, 2019/04/14
- [elpa] master 04b8171 09/31: Fix a typo, Dmitry Gutov, 2019/04/14
- [elpa] master ebf1301 04/31: Merge branch 'master' into forced-completion-for-unique-match, Dmitry Gutov, 2019/04/14
- [elpa] master 3d4e87c 11/31: company: company--company-command-p: Fix lookup-key, Dmitry Gutov, 2019/04/14