From f0b672ed3da6d512051f81c618da14fa673df821 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 5 Jul 2018 13:14:28 -0700 Subject: [PATCH] [Emacs] Make main only when server not started --- dotfiles/emacs.d/README.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index d75df9ef..94cf65d8 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -1442,8 +1442,8 @@ The file server file for this emacs instance no longer exists.") (let ((server-dir (if server-use-tcp server-auth-dir server-socket-dir))) (expand-file-name server-name server-dir))) (setq server-use-tcp t) - (when (equal nil (server-running-p)) (server-start)) - (imalison:make-main-emacs-server))) + (when (equal nil (server-running-p)) (server-start) + (imalison:make-main-emacs-server)))) #+END_SRC ** list-environment #+BEGIN_SRC emacs-lisp