Use configuration-layer/layer-decaredp in packages.el of ess layer
This commit is contained in:
parent
b2f66f80f6
commit
b8d8a0fe2d
|
@ -25,7 +25,7 @@ which require an initialization must be listed explicitly in the list.")
|
|||
"List of packages to exclude.")
|
||||
|
||||
;; Only load company-ess if company-mode is enabled
|
||||
(when (member 'company-mode dotspacemacs-configuration-layers)
|
||||
(when (configuration-layer/layer-declaredp 'company-mode)
|
||||
(add-to-list 'ess-packages 'company-ess))
|
||||
|
||||
(defun ess/init-ess ()
|
||||
|
|
Loading…
Reference in a new issue