Replace warn => warn!

This commit is contained in:
Henrik Lissner 2018-02-14 07:40:05 -05:00
parent 5ad4246cb9
commit bac73ec938
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
11 changed files with 31 additions and 31 deletions

View file

@ -31,10 +31,9 @@
:init
(add-hook 'haskell-mode-hook #'ghc-comp-init)
:config
(if (executable-find "ghc-mod")
(set! :company-backend 'haskell-mode #'company-ghc)
(warn "haskell-mode: couldn't find ghc-mod on PATH")
(remove-hook 'haskell-mode-hook #'ghc-comp-init))
(unless (executable-find "ghc-mod")
(warn! "Couldn't find ghc-mod on PATH. Code completion is disabled."))
(setq company-ghc-show-info 'oneline))
(setq company-ghc-show-info 'oneline)
(set! :company-backend 'haskell-mode #'company-ghc))