diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-07-24 03:13:37 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-07-25 15:44:48 +0100 |
commit | 1aa826227e052fb2f62df54b1599ec883df01799 (patch) | |
tree | 5a13588ee905ee15512980f6c1c6df6ad66844b0 /Emacs/.config/emacs | |
parent | eaf83f62e48fb70fb21afeaf0bb89e73439dae64 (diff) | |
download | dotfiles-1aa826227e052fb2f62df54b1599ec883df01799.tar.gz dotfiles-1aa826227e052fb2f62df54b1599ec883df01799.tar.bz2 dotfiles-1aa826227e052fb2f62df54b1599ec883df01799.zip |
(Emacs)~minor edits
~haskell-process-type is now stack-ghci
+feature to switch to dashboard with each new frame
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r-- | Emacs/.config/emacs/config.org | 1 | ||||
-rw-r--r-- | Emacs/.config/emacs/init.el | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 18a1091..7087d0e 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -2506,6 +2506,7 @@ Here I configure the REPL for Haskell via the (haskell-mode-hook . interactive-haskell-mode) :custom (haskell-interactive-popup-errors nil) + (haskell-process-type 'stack-ghci) :general (leader "th" #'+shell/toggle-haskell-repl) diff --git a/Emacs/.config/emacs/init.el b/Emacs/.config/emacs/init.el index bed923e..185cfbb 100644 --- a/Emacs/.config/emacs/init.el +++ b/Emacs/.config/emacs/init.el @@ -90,7 +90,11 @@ (require 'notmuch) (require 'company) (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) |