; Better documentation of HOME on MS-Windows

* doc/emacs/custom.texi (Find Init): Add footnote about HOME on
MS-Windows.  (Bug#64871)

(cherry picked from commit d59630e591)
This commit is contained in:
Eli Zaretskii 2023-07-27 09:51:39 +03:00
parent 54e98b5f9b
commit b2cb6e8216

View file

@ -2804,7 +2804,12 @@ library. @xref{Hooks}.
@subsection How Emacs Finds Your Init File @subsection How Emacs Finds Your Init File
Emacs normally finds your init file in a location under your home Emacs normally finds your init file in a location under your home
directory. @xref{Init File}. directory@footnote{
On MS-Windows, there's no single directory considered by all programs
as ``the home directory'' of the user. Emacs uses one of the
pertinent directories as the equivalent of your home directory; see
@ref{Windows HOME}, for the details.
}. @xref{Init File}.
Emacs looks for your init file using the filenames @file{~/.emacs.el}, Emacs looks for your init file using the filenames @file{~/.emacs.el},
@file{~/.emacs}, or @file{~/.emacs.d/init.el} in that order; you can @file{~/.emacs}, or @file{~/.emacs.d/init.el} in that order; you can