From c6b8d92a1f12b39224057fc7c9233f2d9ce8d1ad Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 23 Feb 2001 11:27:08 +0000 Subject: [PATCH] (File Names): Add a note about ~/ peculiarities on DOS/Windows. --- man/files.texi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/man/files.texi b/man/files.texi index 4fbf945c38b..b028e4d20b6 100644 --- a/man/files.texi +++ b/man/files.texi @@ -112,7 +112,10 @@ done before Emacs is started. @cindex home directory shorthand You can use the @file{~/} in a file name to mean your home directory, or @file{~@var{user-id}/} to mean the home directory of a user whose -login name is @code{user-id}. +login name is @code{user-id}. (On DOS and Windows systems, where a user +doesn't have a home directory, Emacs substitutes @file{~/} with the +value of the environment variable @code{HOME}; see @ref{General +Variables}.) To access a file with @samp{$} in its name, type @samp{$$}. This pair is converted to a single @samp{$} at the same time as variable -- 2.39.5