branch: externals/company commit a0e685b50609f42e0b73425e9a16706c1500589d Author: Dmitry Gutov <dmi...@gutov.dev> Commit: Dmitry Gutov <dmi...@gutov.dev>
Expect specifically the value `t` So that after the default is flipped someway, the property could also support the symbol `no`. #1468 --- NEWS.md | 2 +- company-capf.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index 38f8cb95a1..3273e4cf89 100644 --- a/NEWS.md +++ b/NEWS.md @@ -8,7 +8,7 @@ `company-capf`. * For that, `company-capf` supports interrupting computation on new user input. Completion functions that want to take advantage of this behavior - should include `:company-use-while-no-input` in the returned properties list. + should include `:company-use-while-no-input t` in the returned properties. * `company-elisp` has been removed. It's not needed since Emacs 24.4, with all of its features having been incorporated into the built-in Elisp completion. * `company-files` shows shorter completions. Previously, the popup spanned diff --git a/company-capf.el b/company-capf.el index 8d796f5f01..a62c45aa1d 100644 --- a/company-capf.el +++ b/company-capf.el @@ -194,7 +194,7 @@ so we can't just use the preceding variable instead.") (length input) meta (and non-essential - interrupt))) + (eq interrupt t)))) (sortfun (cdr (assq 'display-sort-function meta))) (last (last candidates)) (base-size (and (numberp (cdr last)) (cdr last))))