From: Mark Wooding Date: Sat, 18 Apr 2020 22:25:03 +0000 (+0100) Subject: dot/emacs: Don't start a server if we're running as a daemon. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/0477e79d1a56eaa1c31513f4b0b2786ac78b7b05 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. --- 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)