Fix #4384: save server auth files to EMACSDIR

It's where the daemon looks for them. It's too much hassle to move it
elsewhere.
This commit is contained in:
Henrik Lissner 2020-12-08 21:40:10 -05:00
parent 9137cbaaa4
commit 4652511440
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -331,6 +331,7 @@ files, so we replace calls to `pp' with the much faster `prin1'."
(when-let (name (getenv "EMACS_SERVER_NAME"))
(setq server-name name))
:config
(setq server-auth-dir (concat doom-emacs-dir "server/"))
(unless (server-running-p)
(server-start)))