From b31209e20a5d5ebb76a28e812e1e2db87a996dba Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Mon, 17 Nov 2025 09:10:26 -0800 Subject: prevent some whining on startup --- emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 481935c..dc764f6 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -586,10 +586,11 @@ given keymap or in the global keymap." :custom (haskell-tags-on-save t) (haskell-process-type 'cabal-repl) + (haskell-process-auto-import-loaded-modules t) :hook (haskell-mode . interactive-haskell-mode)) (use-package opam-switch-mode :config - (when (file-exists-p "~/.opam") + (when (and (file-exists-p "~/.opam") (executable-find "opam")) (opam-switch-set-switch "default"))) (use-package tuareg :after opam-switch-mode) -- cgit v1.2.3