branch: elpa/helm
commit 5719960318f4fcdb264e70db23fc065439987af1
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Prevent setting up completion-styles-alist when helm-mode
is not provided (helm-core package only).
---
helm-core.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm-core.el b/helm-core.el
index f02ab6d34c0..f7ee0a27474 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -39,7 +39,7 @@
(add-hook 'emacs-lisp-mode-hook #'helm-acase-extra-fontifications)
;; Setup completion styles for helm-mode
-(helm--setup-completion-styles-alist)
+(when (featurep 'helm-mode) (helm--setup-completion-styles-alist))
(declare-function helm-comp-read "helm-mode.el")
(declare-function custom-unlispify-tag-name "cus-edit.el")