summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-01-26 13:16:56 -0500
committerKyle Meyer <kyle@kyleam.com>2014-01-26 13:16:56 -0500
commit9eeb0fbf88bb86a3342cc2f2ad699d7538565f38 (patch)
treefa3de6d300f11f4d115473ea1d1168f43a0cc027
parenta4c54f239fce51ccdffd394cfab373a24dc4759f (diff)
downloademacs.d-9eeb0fbf88bb86a3342cc2f2ad699d7538565f38.tar.gz
Only start server if not running
-rw-r--r--init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.el b/init.el
index 01b9966..59428e8 100644
--- a/init.el
+++ b/init.el
@@ -49,4 +49,6 @@
(when (file-exists-p (expand-file-name "init-untracked.el" init-lisp-dir))
(require 'init-untracked))
-(server-start)
+(require 'server)
+(unless (server-running-p)
+ (server-start))