Subject: Re: bug#583: Use XDG basedir spec for configuration files?

From: Eli Zaretskii <[email-masked]>
Date: Thu, 29 Aug 2019 21:53:25 +0300

> From: Glenn Morris <[email-masked]>
> Date: Thu, 29 Aug 2019 14:30:54 -0400
> Cc: [email-masked], [email-masked]
> 
> rm -rf /tmp/foo
> mkdir -p /tmp/foo/.config/emacs
> HOME=/tmp/foo emacs
> 
> Now:
> user-init-file         -> /tmp/foo/.config/emacs/init
> user-emacs-directory   -> ~/.emacs.d/
> 
> I guess user-emacs-directory is being set at build time, not run time.

It's a defconst in subr.el, and I believe one of my review comments
for the initial version of the patch was that I didn't think using
defconst for this was correct.