From f1ea2b4fdeffb472cd8f6788447171930e7ad19a Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 22 Feb 2018 02:00:16 -0800 Subject: [PATCH] [Emacs] Handle the case where server is in :other state --- dotfiles/emacs.d/README.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index a3b655e7..31f2450a 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -1424,7 +1424,7 @@ 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) - (unless (server-running-p) (server-start)) + (unless (equal nil (server-running-p)) (server-start)) (run-with-timer 0 60 'imalison:make-main-emacs-server))) #+END_SRC ** list-environment