summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/init.org6
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index cd70524..35123df 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -2593,9 +2593,9 @@ Start a server if possible.  A daemon is already a server.
 #+BEGIN_SRC emacs-lisp
 (use-package server
   :defer 2
-  :if (not (or (daemonp)
-               (server-running-p server-name)))
-  :config (server-start))
+  :if (not (daemonp))
+  :config (unless (server-running-p server-name)
+            (server-start)))
 (setq gc-cons-threshold 800000
       file-name-handler-alist file-name-handler-alist-backup)
 #+END_SRC