mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
General refactor for consistency & idempotency
Also updated comments
This commit is contained in:
@ -32,7 +32,8 @@
|
||||
:when (featurep! :completion company)
|
||||
:after elixir-mode
|
||||
:config
|
||||
;; Let Doom handle this
|
||||
;; Alchemist doesn't use hook symbols to add these backends, so we have to use
|
||||
;; the entire closure to get rid of it.
|
||||
(let ((fn (byte-compile (lambda () (add-to-list (make-local-variable 'company-backends) 'alchemist-company)))))
|
||||
(remove-hook 'alchemist-mode-hook fn)
|
||||
(remove-hook 'alchemist-iex-mode-hook fn))
|
||||
|
Reference in New Issue
Block a user