branch: elpa/cider
commit 49496142e36db47b1abedf2cf087a24382b8cdde
Author: Oleksandr Yakushev <a...@bytopia.org>
Commit: Oleksandr Yakushev <a...@bytopia.org>

    [complete] Add a comment about flex style priority
---
 cider-completion.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cider-completion.el b/cider-completion.el
index a2a91ae57d..8e92714547 100644
--- a/cider-completion.el
+++ b/cider-completion.el
@@ -297,6 +297,8 @@ Only affects the `cider' completion category.`"
     (unless found-styles
       (setq found-styles '(styles basic)))
     (unless (member 'flex found-styles)
+      ;; This expression makes sure that 'flex style has a priority over other
+      ;; styles, see https://github.com/clojure-emacs/cider/pull/3696.
       (setq found-styles (apply #'list 'styles 'flex (cdr found-styles))))
     (add-to-list 'completion-category-overrides (apply #'list 'cider 
found-styles (when found-cycle
                                                                                
     (list found-cycle))))))

Reply via email to