diff options
author | Alan Pearce | 2017-04-28 14:25:50 +0200 |
---|---|---|
committer | Alan Pearce | 2017-04-28 14:25:50 +0200 |
commit | f9568b1426b41ac68b4839987ceb863296647374 (patch) | |
tree | 12ad2630467e360a27e73eaaa5cd4101c18702c5 | |
parent | d0a0a298e07beeb36c9d8959b6f8a9eabcd02d38 (diff) | |
download | dotfiles-f9568b1426b41ac68b4839987ceb863296647374.tar.lz dotfiles-f9568b1426b41ac68b4839987ceb863296647374.tar.zst dotfiles-f9568b1426b41ac68b4839987ceb863296647374.zip |
Emacs: Fix server test
-rw-r--r-- | emacs/.emacs.d/init.org | 6 |
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 |