branch: elpa/sly commit 6669067eea1f63c3c9e6c34ac8d453be76774f6c Author: João Távora <joaotav...@gmail.com> Commit: João Távora <joaotav...@gmail.com>
Also sly-completion category to completion-category-overrides It was already in completion-category-defaults but we really need it to override the UI's or the user's chosen completion style. * lib/sly-completion.el (completion-category-overrides): Add entry for sly-completion. --- lib/sly-completion.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/sly-completion.el b/lib/sly-completion.el index 4c78780..5839ed4 100644 --- a/lib/sly-completion.el +++ b/lib/sly-completion.el @@ -234,11 +234,8 @@ ANNOTATION) describing each completion possibility." (car new)) (cadr new)))) -;; TODO: this `basic' completion style is actually a `backend' -;; completion style, meaning a completion style where the filtering is -;; done entirely by the backend. -(when (boundp 'completion-category-defaults) - (add-to-list 'completion-category-defaults +(when (boundp 'completion-category-overrides) + (add-to-list 'completion-category-overrides '(sly-completion (styles . (backend))))) (defun sly--completion-function-wrapper (fn)