From 9f3bd324b9b059c66d54e1f76f1b4fd2fd69c529 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 9 Aug 2020 17:36:01 +0100 Subject: +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. --- Emacs/.config/emacs/init.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Emacs/.config/emacs') 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 -- cgit v1.2.3-13-gbd6f