diff --git a/modules/completion/company/config.el b/modules/completion/company/config.el index 6ca06751f..6a1f05ea9 100644 --- a/modules/completion/company/config.el +++ b/modules/completion/company/config.el @@ -61,8 +61,7 @@ :before #'company-begin-backend (company-abort))) - (add-hook 'after-change-major-mode-hook #'+company-init-backends-h 'append) - + (add-hook 'company-mode-hook #'+company-init-backends-h 'append) ;; NOTE Fix #1335: ensure `company-emulation-alist' is the first item of ;; `emulation-mode-map-alists', thus higher priority than keymaps of