From 0477e79d1a56eaa1c31513f4b0b2786ac78b7b05 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 18 Apr 2020 23:25:03 +0100 Subject: [PATCH] dot/emacs: Don't start a server if we're running as a daemon. Emacs will just close it and try to start another anyway. --- dot/emacs | 1 + 1 file changed, 1 insertion(+) diff --git a/dot/emacs b/dot/emacs index be0d918..7378f0c 100644 --- a/dot/emacs +++ b/dot/emacs @@ -130,6 +130,7 @@ (and (or window-system (mdw-emacs-version-p 23)) (not mdw-fast-startup) + (not (and (fboundp 'daemonp) (daemonp))) (progn (setq server-temp-file-regexp (concat "^" tmpdir "\\|/draft$") edit-server-new-frame nil gnuserv-frame t) -- 2.11.0