aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/init.el
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-07-24 03:13:37 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-07-25 15:44:48 +0100
commit1aa826227e052fb2f62df54b1599ec883df01799 (patch)
tree5a13588ee905ee15512980f6c1c6df6ad66844b0 /Emacs/.config/emacs/init.el
parenteaf83f62e48fb70fb21afeaf0bb89e73439dae64 (diff)
downloaddotfiles-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/init.el')
-rw-r--r--Emacs/.config/emacs/init.el6
1 files changed, 5 insertions, 1 deletions
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)