diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-09 17:36:01 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-09 20:21:23 +0100 |
commit | 9f3bd324b9b059c66d54e1f76f1b4fd2fd69c529 (patch) | |
tree | ff0ee5c00b2561931c6fab116a6ce90ec2caa2bf /Emacs/.config | |
parent | b21fc53e29df024e5547635d51a051d771105fea (diff) | |
download | dotfiles-9f3bd324b9b059c66d54e1f76f1b4fd2fd69c529.tar.gz dotfiles-9f3bd324b9b059c66d54e1f76f1b4fd2fd69c529.tar.bz2 dotfiles-9f3bd324b9b059c66d54e1f76f1b4fd2fd69c529.zip |
+when emacs in server mode, load stuff greedily
When emacs is launched standalone, it makes sense to optimise towards
smaller load times through lazy loading. However, when Emacs is in
server or daemon there's no point holding back. Just load everything
most of the necessary stuff such that on first emacsclient launch we
have everything available for use.
Diffstat (limited to 'Emacs/.config')
-rw-r--r-- | Emacs/.config/emacs/init.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/init.el b/Emacs/.config/emacs/init.el index 526cb44..ee9e139 100644 --- a/Emacs/.config/emacs/init.el +++ b/Emacs/.config/emacs/init.el @@ -19,6 +19,11 @@ (+literate/compile-config)) (+literate/load-config) +(when (daemonp) + (require 'org) + (require 'notmuch) + (require 'eglot) + (require 'ivy)) ;; Programming (custom-set-variables |