diff options
| author | Eli Zaretskii | 2018-11-14 21:45:41 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2018-11-14 21:45:41 +0200 |
| commit | 5fe81ebbb52a82ed13635df4861039ac7ed42022 (patch) | |
| tree | 88ba631df9c481c261c1a8e7ed33b642a978c13d /etc | |
| parent | b1bb7917c15f880dc1c913a1e7c150396af873dc (diff) | |
| download | emacs-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 'etc')
| -rw-r--r-- | etc/NEWS | 9 |
1 files changed, 6 insertions, 3 deletions
| @@ -961,9 +961,12 @@ its default value changed in Emacs 27.1. | |||
| 961 | 961 | ||
| 962 | ** The REPETITIONS argument of 'benchmark-run' can now also be a variable. | 962 | ** The REPETITIONS argument of 'benchmark-run' can now also be a variable. |
| 963 | 963 | ||
| 964 | ** If $HOME is a relative file name, 'expand-file-name' now expands | 964 | ** Interpretation of relative HOME directory has changed. |
| 965 | "~" and leading "~/" to the corresponding absolute file name. | 965 | If $HOME is set to a relative file name, 'expand-file-name' now |
| 966 | Formerly, it incorrectly expanded them to a relative file name. | 966 | interprets it relative to the directory where Emacs was started, not |
| 967 | relative to the default-directory of the current buffer. We recommend | ||
| 968 | always setting $HOME to an absolute file name, so that its meaning is | ||
| 969 | independent of where Emacs was started. | ||
| 967 | 970 | ||
| 968 | ** The FILENAME argument to 'file-name-base' is now mandatory and no | 971 | ** The FILENAME argument to 'file-name-base' is now mandatory and no |
| 969 | longer defaults to 'buffer-file-name'. | 972 | longer defaults to 'buffer-file-name'. |