Hacker News new | ask | show | jobs
by guilherme-puida 1037 days ago
When you create $XDG_CONFIG_HOME/emacs/init.el before starting emacs for the first time your `user-emacs-directory' will be set to it. However, the other locations (.emacs, .emacs.d) are always preferred if they exist.

Refer to section 50.4.4 (How Emacs Finds Your Init File) of the manual for more information.