From 2c270b8de26a7b9df33002b1314aa509bf90463e Mon Sep 17 00:00:00 2001 From: Mitch Tishmack Date: Sun, 8 Mar 2015 14:37:42 -0500 Subject: [PATCH] Be a bit smarter with haskell-mode and use-package. --- emacs/.emacs.d/emacs.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/emacs.org b/emacs/.emacs.d/emacs.org index 38ebaee..264cb91 100644 --- a/emacs/.emacs.d/emacs.org +++ b/emacs/.emacs.d/emacs.org @@ -843,6 +843,7 @@ Need to make haskell source be all pretty. :config (progn (use-package hindent + :if (executable-find "hindent") :ensure t :config (progn @@ -858,6 +859,7 @@ Need to make haskell source be all pretty. ) ) (use-package ghc + :if (executable-find "ghc-mod") :ensure t :config (progn @@ -874,7 +876,6 @@ Need to make haskell source be all pretty. (add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent) (custom-set-variables '(haskell-program-name "ghci") - '(haskell-font-lock-symbols t) '(haskell-tags-on-save t) ) (add-to-list 'completion-ignored-extensions ".hi")