[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/company b05e9ea272 1/5: Revert "Remove :company-use-whi
From: |
ELPA Syncer |
Subject: |
[elpa] externals/company b05e9ea272 1/5: Revert "Remove :company-use-while-no-input, just default to interrupting" |
Date: |
Mon, 24 Jun 2024 21:57:40 -0400 (EDT) |
branch: externals/company
commit b05e9ea272312036fdc7df93fa8757f6c74a7b27
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>
Revert "Remove :company-use-while-no-input, just default to interrupting"
This reverts commit 61d992bd62ebaacf6d3e9e621951f6408006fc54.
Update for #1468.
---
company-capf.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/company-capf.el b/company-capf.el
index 2543f3d8d2..8d796f5f01 100644
--- a/company-capf.el
+++ b/company-capf.el
@@ -189,10 +189,12 @@ so we can't just use the preceding variable instead.")
table pred))))
(company-capf--save-current-data res meta)
(when res
- (let* ((candidates (company-capf--candidates-1 input table pred
+ (let* ((interrupt (plist-get (nthcdr 4 res) :company-use-while-no-input))
+ (candidates (company-capf--candidates-1 input table pred
(length input)
meta
- non-essential))
+ (and non-essential
+ interrupt)))
(sortfun (cdr (assq 'display-sort-function meta)))
(last (last candidates))
(base-size (and (numberp (cdr last)) (cdr last))))
- [elpa] externals/company updated (035e38b835 -> 8d2ca28a16), ELPA Syncer, 2024/06/24
- [elpa] externals/company a0e685b506 4/5: Expect specifically the value `t`, ELPA Syncer, 2024/06/24
- [elpa] externals/company eeba45b8c8 3/5: Merge pull request #1479 from company-mode/while-no-input-opt-in, ELPA Syncer, 2024/06/24
- [elpa] externals/company 8d2ca28a16 5/5: company-calculate-candidates: Make sure to cancel the "sneaky" timer, ELPA Syncer, 2024/06/24
- [elpa] externals/company b05e9ea272 1/5: Revert "Remove :company-use-while-no-input, just default to interrupting",
ELPA Syncer <=
- [elpa] externals/company 917a40cd57 2/5: Update NEWS entries, ELPA Syncer, 2024/06/24