(Emacs)~minor edits

~haskell-process-type is now stack-ghci
+feature to switch to dashboard with each new frame
This commit is contained in:
2021-07-24 03:13:37 +01:00
parent eaf83f62e4
commit 1aa826227e
2 changed files with 6 additions and 1 deletions

View File

@@ -2506,6 +2506,7 @@ Here I configure the REPL for Haskell via the
(haskell-mode-hook . interactive-haskell-mode) (haskell-mode-hook . interactive-haskell-mode)
:custom :custom
(haskell-interactive-popup-errors nil) (haskell-interactive-popup-errors nil)
(haskell-process-type 'stack-ghci)
:general :general
(leader (leader
"th" #'+shell/toggle-haskell-repl) "th" #'+shell/toggle-haskell-repl)

View File

@@ -90,7 +90,11 @@
(require 'notmuch) (require 'notmuch)
(require 'company) (require 'company)
(require 'org) (require 'org)
(require 'eglot)) (require 'eglot)
(if (fboundp 'server-after-make-frame-hook)
(add-hook server-after-make-frame-hook
#'dashboard-refresh-buffer)
(setq server-after-make-frame-hook '(dashboard-refresh-buffer))))
(setq gc-cons-threshold 100000000) (setq gc-cons-threshold 100000000)