Mercurial > emacs
changeset 36325:cf1b9eaadeaf
(File Names): Add a note about ~/ peculiarities on DOS/Windows.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 23 Feb 2001 11:27:08 +0000 |
parents | 63c47fc9df21 |
children | 70c08680c0bf |
files | man/files.texi |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/man/files.texi Fri Feb 23 11:23:10 2001 +0000 +++ b/man/files.texi Fri Feb 23 11:27:08 2001 +0000 @@ -112,7 +112,10 @@ @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