summaryrefslogtreecommitdiff
path: root/helm-lib.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2019-11-14 20:33:16 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2019-11-14 20:33:16 +0100
commite1298a7ed8342c6a67b70c17763edeb42c710edc (patch)
tree39e97194352e4e143a75c77df46705705311b4b9 /helm-lib.el
parent7a40de8ff025def1b14e6c25dbaf8b320cbd41f2 (diff)
Fix again completion-styles in use in helm
accept for now only flex when available. * helm-lib.el (helm-dynamic-completion): Do it. * helm-mode.el (helm-completion-in-region--fix-completion-styles): Do it.
Diffstat (limited to 'helm-lib.el')
-rw-r--r--helm-lib.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/helm-lib.el b/helm-lib.el
index 472b6e5b..b6b276e8 100644
--- a/helm-lib.el
+++ b/helm-lib.el
@@ -1362,7 +1362,9 @@ Example:
"
(lambda ()
- (let* ((completion-styles (append '(helm) (remove 'helm completion-styles)))
+ (let* ((completion-styles (if (memq 'flex completion-styles)
+ '(flex helm)
+ '(helm)))
(compsfn (lambda (str pred _action)
(let* ((comps (completion-all-completions
str