all repos — nixfiles @ cf968f6d841ae3b74ddf429cf919c8a5cf1b6b16

System and user configuration, managed by nix and home-manager

Emacs: start server
Alan Pearce alan@alanpearce.eu
Wed, 02 Dec 2020 10:58:18 +0100
commit

cf968f6d841ae3b74ddf429cf919c8a5cf1b6b16

parent

09fba469ffd5966aa290270eabc3933ac769d837

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -9,6 +9,7 @@ (add-hook 'minibuffer-setup-hook (lambda () (setq gc-cons-threshold most-positive-fixnum)))   (add-hook 'minibuffer-exit-hook (lambda () (setq gc-cons-threshold default-gc-cons-threshold)))
   (add-hook 'emacs-startup-hook (lambda () (setq file-name-handler-alist default-file-name-handler-alist)))
   (add-hook 'after-init-hook (lambda ()
+                               (server-start)
                                (setq gc-cons-threshold default-gc-cons-threshold
                                      gc-cons-percentage 0.1))))