summary refs log tree commit diff
path: root/emacs.d/modules
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-06-05 15:51:21 -0700
committerFranck Cuny <franck.cuny@gmail.com>2018-06-05 15:51:21 -0700
commitab3272827ee506d9d4329098a735a939bf56f7af (patch)
treef11af38bda17b25e9002a4dfff6c97d60f494e55 /emacs.d/modules
parent[emacs] Some major clean up. (diff)
downloademacs.d-ab3272827ee506d9d4329098a735a939bf56f7af.tar.gz
[emacs] Some clean up for the server.
Diffstat (limited to 'emacs.d/modules')
-rw-r--r--emacs.d/modules/module-general.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/emacs.d/modules/module-general.el b/emacs.d/modules/module-general.el
index 6feec76..c68c3dc 100644
--- a/emacs.d/modules/module-general.el
+++ b/emacs.d/modules/module-general.el
@@ -51,9 +51,8 @@
   (setq recentf-save-file (expand-file-name "var/recentf" user-emacs-directory)))
 
 (use-package server
+  :diminish (server-buffer-clients . " #")
   :config
-  (unless (server-running-p) (server-start)))
-
-
+  (add-hook 'after-init-hook 'server-start))
 
 (provide 'module-general)