summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.org11
1 files changed, 6 insertions, 5 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 1b7a03e9..0e062f56 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -2428,11 +2428,12 @@ the =org=-document after changes.
 
 Start a server if possible.  A daemon is already a server.
 #+BEGIN_SRC emacs-lisp
-  (unless (daemonp)
-    (require 'server)
-    (if (server-running-p server-name)
-        (message "Server already appears to be running")
-      (server-start)))
+  (run-with-idle-timer 2 nil (lambda ()
+                               (unless (daemonp)
+                                 (require 'server)
+                                 (if (server-running-p server-name)
+                                     (message "Server already appears to be running")
+                                   (server-start)))))
   (benchmark-init/deactivate)
   (setq gc-cons-threshold 800000)
 #+END_SRC