From e708da62270d311d6bceac0dcbdf4740112156ed Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 27 Jul 2023 09:51:39 +0300 Subject: [PATCH] ; Better documentation of HOME on MS-Windows * doc/emacs/custom.texi (Find Init): Add footnote about HOME on MS-Windows. (Bug#64871) --- doc/emacs/custom.texi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index d2d51e344dd..456e2087217 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi @@ -2823,7 +2823,12 @@ library. @xref{Hooks}. @subsection How Emacs Finds Your Init File 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}, @file{~/.emacs}, or @file{~/.emacs.d/init.el} in that order; you can -- 2.39.5