summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el9
-rw-r--r--lisp/init-server.el (renamed from lisp/init-mail.el)7
2 files changed, 7 insertions, 9 deletions
diff --git a/init.el b/init.el
index 0496b7f..f2e8ed8 100644
--- a/init.el
+++ b/init.el
@@ -54,10 +54,5 @@
(when (file-exists-p (expand-file-name "init-untracked.el" km/init-lisp-dir))
(require 'init-untracked))
-(setq server-use-tcp t)
-(require 'server)
-(unless (server-running-p)
- (server-start))
-
-(require 'init-mail)
-
+(require 'init-gnus)
+(require 'init-server)
diff --git a/lisp/init-mail.el b/lisp/init-server.el
index eda2883..939617f 100644
--- a/lisp/init-mail.el
+++ b/lisp/init-server.el
@@ -1,5 +1,8 @@
-(require 'init-gnus)
+(setq server-use-tcp t)
+(require 'server)
+(unless (server-running-p)
+ (server-start))
(let ((server (daemonp)))
(cond
@@ -12,4 +15,4 @@
(key-chord-define-global "jg" 'km/mail-map)
(setq save-abbrevs nil))))
-(provide 'init-mail)
+(provide 'init-server)