From f9568b1426b41ac68b4839987ceb863296647374 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 28 Apr 2017 14:25:50 +0200 Subject: Emacs: Fix server test --- emacs/.emacs.d/init.org | 6 +++--- 1 file 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 -- cgit 1.4.1