summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-04-12 00:41:16 -0400
committerKyle Meyer <kyle@kyleam.com>2015-04-12 00:41:16 -0400
commit7c641944ce85db15fe69800f511fb3f262fb1b09 (patch)
tree86fe01d574fec655f43a54030478719417f4800a
parentd8591501835d076928ec9a906f20556e749a782c (diff)
downloademacs.d-7c641944ce85db15fe69800f511fb3f262fb1b09.tar.gz
Move server settings to init-server.el
-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)