From ab3272827ee506d9d4329098a735a939bf56f7af Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 5 Jun 2018 15:51:21 -0700 Subject: [emacs] Some clean up for the server. --- emacs.d/modules/module-general.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'emacs.d/modules') 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) -- cgit 1.4.1