From 1aa826227e052fb2f62df54b1599ec883df01799 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 24 Jul 2021 03:13:37 +0100 Subject: (Emacs)~minor edits ~haskell-process-type is now stack-ghci +feature to switch to dashboard with each new frame --- Emacs/.config/emacs/init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Emacs/.config/emacs/init.el') 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) -- cgit v1.2.3-13-gbd6f