diff --git a/lisp/doom-editor.el b/lisp/doom-editor.el index f10c2e743..a288cdd61 100644 --- a/lisp/doom-editor.el +++ b/lisp/doom-editor.el @@ -409,12 +409,10 @@ files, so this replace calls to `pp' with the much faster `prin1'." (use-package! server :when (display-graphic-p) :after-call doom-first-input-hook doom-first-file-hook focus-out-hook - :custom (server-auth-dir (concat doom-emacs-dir "server/")) :defer 1 - :init + :config (when-let (name (getenv "EMACS_SERVER_NAME")) (setq server-name name)) - :config (unless (server-running-p) (server-start)))