From e688bd8c85df57e9d24eaeda467379317d4298ac Mon Sep 17 00:00:00 2001 From: Oliver Charles Date: Thu, 4 Jan 2018 11:06:05 +0000 Subject: [PATCH] haskell: Fix warning about ghc-mod The warning confusingly states that `ghc-mode` couldn't be found, implying it's some kind of emacs mode. However, the predicate is actually checking for the `ghc-mod` executable, which is something entirely different. --- modules/lang/haskell/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/haskell/config.el b/modules/lang/haskell/config.el index 8cc1fc152..ed5c84b50 100644 --- a/modules/lang/haskell/config.el +++ b/modules/lang/haskell/config.el @@ -33,7 +33,7 @@ :config (if (executable-find "ghc-mod") (set! :company-backend 'haskell-mode #'company-ghc) - (warn "haskell-mode: couldn't find ghc-mode") + (warn "haskell-mode: couldn't find ghc-mod on PATH") (remove-hook 'haskell-mode-hook #'ghc-comp-init)) (setq company-ghc-show-info 'oneline))