summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-server.el (renamed from lisp/init-mail.el)7
1 files changed, 5 insertions, 2 deletions
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)