General formatting & minor refactors

This commit is contained in:
Henrik Lissner 2018-09-02 17:18:31 +02:00
parent daef19ba64
commit 3a23ff56cd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 22 additions and 22 deletions

View file

@ -22,8 +22,8 @@
:init
(set-company-backend! 'elixir-mode '(alchemist-company company-yasnippet))
:config
;; Alchemist doesn't use hook symbols to add these backends, so we have to use
;; the entire closure to get rid of it.
;; 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)))