fix(company): company-backends not set in some buffers
Any buffers opened before company-mode was loaded would not have `company-backends` initialized in them. Fix: #6261 Fix: #6180 Fix: #5896 Fix: #5672 Fix: #2015
This commit is contained in:
parent
40d67ab573
commit
88a3961489
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue