diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2019-11-28 10:00:30 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2019-11-28 10:03:37 +0100 |
commit | 26fcedeafb28e7669b9ce5bfdeeabc5477f99dd4 (patch) | |
tree | dba0c4c741fd5b341643201295df2912c69f75f7 /helm-lib.el | |
parent | c8725745e84a999a8b20fbe08dfc751ff0a52fa8 (diff) |
Don't modify completion-styles-alist
when exiting helm-mode.
Remove helm-mode--disable-completion-styles.
* helm-command.el (helm-M-x-read-extended-command): No need to check
for helm-mode.
* helm-lib.el (helm-dynamic-completion): May be setup
completion-styles-alist if not already done by helm-mode.
* helm-mode.el (helm-mode): Don't modify completion-styles-alist
Diffstat (limited to 'helm-lib.el')
-rw-r--r-- | helm-lib.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/helm-lib.el b/helm-lib.el index dea248a6..f1ea4c0a 100644 --- a/helm-lib.el +++ b/helm-lib.el @@ -1367,6 +1367,9 @@ Example: When argument NOMODE is non nil don't use `completion-styles' as specified in `helm-completion-styles-alist'." + (require 'helm-mode) + (unless helm-mode + (helm-mode--setup-completion-styles)) (lambda () (let* ((completion-styles (helm-completion-in-region--set-completion-styles nomode)) |