aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2018-11-14 21:45:41 +0200
committerEli Zaretskii2018-11-14 21:45:41 +0200
commit5fe81ebbb52a82ed13635df4861039ac7ed42022 (patch)
tree88ba631df9c481c261c1a8e7ed33b642a978c13d /doc
parentb1bb7917c15f880dc1c913a1e7c150396af873dc (diff)
downloademacs-5fe81ebbb52a82ed13635df4861039ac7ed42022.tar.gz
emacs-5fe81ebbb52a82ed13635df4861039ac7ed42022.zip
Minor copyedits in documentation of HOME handling
* etc/NEWS: Reword the recent entry regarding the change in how relative file names are interpreted in $HOME. * doc/emacs/cmdargs.texi (General Variables): Advise against using relative directory names in $HOME.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/cmdargs.texi21
1 files changed, 11 insertions, 10 deletions
diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi
index 25a25268889..960398df081 100644
--- a/doc/emacs/cmdargs.texi
+++ b/doc/emacs/cmdargs.texi
@@ -528,16 +528,17 @@ This variable defaults to @file{~/.bash_history} if you use Bash, to
528otherwise. 528otherwise.
529@item HOME 529@item HOME
530@vindex HOME@r{, environment variable} 530@vindex HOME@r{, environment variable}
531The location of your files in the directory tree; used for 531The location of your files in the directory tree; used for expansion
532expansion of file names starting with a tilde (@file{~}). 532of file names starting with a tilde (@file{~}). If set, it should be
533If set to a relative file name, Emacs expands @file{~} to the 533set to an absolute file name. (If set to a relative file name, Emacs
534corresponding absolute file name. If unset, it normally defaults to 534interprets it relative to the directory where Emacs was started, but
535the home directory of the user given by @env{LOGNAME}, @env{USER} or 535we don't recommend to use this feature.) If unset, @env{HOME}
536your user ID, or to @file{/} if all else fails. On MS-DOS, 536normally defaults to the home directory of the user given by
537it defaults to the directory from which Emacs was started, with 537@env{LOGNAME}, @env{USER} or your user ID, or to @file{/} if all else
538@samp{/bin} removed from the end if it was present. On Windows, the 538fails. On MS-DOS, it defaults to the directory from which Emacs was
539default value of @env{HOME} is the @file{Application Data} 539started, with @samp{/bin} removed from the end if it was present. On
540subdirectory of the user profile directory (normally, this is 540Windows, the default value of @env{HOME} is the @file{Application
541Data} subdirectory of the user profile directory (normally, this is
541@file{C:/Documents and Settings/@var{username}/Application Data}, 542@file{C:/Documents and Settings/@var{username}/Application Data},
542where @var{username} is your user name), though for backwards 543where @var{username} is your user name), though for backwards
543compatibility @file{C:/} will be used instead if a @file{.emacs} file 544compatibility @file{C:/} will be used instead if a @file{.emacs} file