summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-04-28 14:25:50 +0200
committerAlan Pearce2017-04-28 14:25:50 +0200
commitf9568b1426b41ac68b4839987ceb863296647374 (patch)
tree12ad2630467e360a27e73eaaa5cd4101c18702c5
parentd0a0a298e07beeb36c9d8959b6f8a9eabcd02d38 (diff)
downloaddotfiles-f9568b1426b41ac68b4839987ceb863296647374.tar.lz
dotfiles-f9568b1426b41ac68b4839987ceb863296647374.tar.zst
dotfiles-f9568b1426b41ac68b4839987ceb863296647374.zip
Emacs: Fix server test
-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