[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/company 1ca51e5 1/2: company--continue: also check for
From: |
ELPA Syncer |
Subject: |
[elpa] externals/company 1ca51e5 1/2: company--continue: also check for company-abort-on-unique-match |
Date: |
Sun, 3 Jan 2021 06:57:07 -0500 (EST) |
branch: externals/company
commit 1ca51e5c914fa51d34e51969f886860b3facfd86
Author: Kien Nguyen <kien.n.quang@gmail.com>
Commit: Kien Nguyen <kien.n.quang@gmail.com>
company--continue: also check for company-abort-on-unique-match
---
company.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/company.el b/company.el
index d352e3f..c20475e 100644
--- a/company.el
+++ b/company.el
@@ -1606,7 +1606,8 @@ prefix match (same case) will be prioritized."
(- company-point (length company-prefix))))
(company-calculate-candidates new-prefix ignore-case))))
(cond
- ((company--unique-match-p c new-prefix ignore-case)
+ ((and company-abort-on-unique-match
+ (company--unique-match-p c new-prefix ignore-case))
;; Handle it like completion was aborted, to differentiate from user
;; calling one of Company's commands to insert the candidate,
;; not to trigger template expansion, etc.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/company 1ca51e5 1/2: company--continue: also check for company-abort-on-unique-match,
ELPA Syncer <=