Replace warn => warn!

This commit is contained in:
Henrik Lissner
2018-02-14 07:40:05 -05:00
parent 5ad4246cb9
commit bac73ec938
11 changed files with 31 additions and 31 deletions

View File

@ -5,11 +5,9 @@
:after haskell-mode
:hook (haskell-mode . dante-mode)
:config
(add-hook 'haskell-mode-hook #'interactive-haskell-mode)
(unless (executable-find "cabal")
(warn "haskell-mode: couldn't find cabal")
(remove-hook 'haskell-mode-hook #'dante-mode))
(warn! "Couldn't find cabal, haskell-mode may have issues"))
(add-hook 'haskell-mode-hook #'interactive-haskell-mode)
(add-hook 'dante-mode-hook #'flycheck-mode))