diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2025-11-17 09:10:26 -0800 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2025-11-17 09:10:26 -0800 |
| commit | b31209e20a5d5ebb76a28e812e1e2db87a996dba (patch) | |
| tree | 4fd3ba4dac0c690b8861cf9135286629c436ec31 /emacs | |
| parent | 2146d2f2e5f43c90663ea114174ad859b12fa811 (diff) | |
prevent some whining on startup
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
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) |
