# HG changeset patch # User Eli Zaretskii # Date 1146829555 0 # Node ID aebd19f066dd25d021430a8eaecebac4e80ec6fd # Parent 410da5f62040b96cf56b9053897282269c9aeae7 (File Names): Add a footnote about limited support of ~USER on MS-Windows. diff -r 410da5f62040 -r aebd19f066dd man/files.texi --- a/man/files.texi Fri May 05 11:45:30 2006 +0000 +++ b/man/files.texi Fri May 05 11:45:55 2006 +0000 @@ -107,10 +107,13 @@ @cindex home directory shorthand You can use @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}. (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}.) +login name is @code{user-id}@footnote{ +On MS-Windows and MS-DOS 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}. The +@file{~@var{user-id}/} construct is supported on those systems only +for the current user, i.e., only if @var{user-id} is the current +user's login name.}. @cindex environment variables in file names @cindex expansion of environment variables