diff options
| author | Eli Zaretskii | 2017-09-02 12:57:30 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-09-02 12:57:30 +0300 |
| commit | f529fc1570e4157c1ecbf4aa1ab5de60efdd5ca7 (patch) | |
| tree | 338a5d95188e22848c922ece0d82177dd70b688d /src | |
| parent | c89f3ff3dc6c744c71808c40dc52c61979c57a4b (diff) | |
| download | emacs-f529fc1570e4157c1ecbf4aa1ab5de60efdd5ca7.tar.gz emacs-f529fc1570e4157c1ecbf4aa1ab5de60efdd5ca7.zip | |
* src/fileio.c (Fexpand_file_name): Doc fix. (Bug#27982)
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index bbd1a4ef69c..0a52982291d 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -755,7 +755,9 @@ For technical reasons, this function can return correct but | |||
| 755 | non-intuitive results for the root directory; for instance, | 755 | non-intuitive results for the root directory; for instance, |
| 756 | \(expand-file-name ".." "/") returns "/..". For this reason, use | 756 | \(expand-file-name ".." "/") returns "/..". For this reason, use |
| 757 | \(directory-file-name (file-name-directory dirname)) to traverse a | 757 | \(directory-file-name (file-name-directory dirname)) to traverse a |
| 758 | filesystem tree, not (expand-file-name ".." dirname). */) | 758 | filesystem tree, not (expand-file-name ".." dirname). Note: make |
| 759 | sure DIRNAME in this example doesn't end in a slash, unless it's | ||
| 760 | the root directory. */) | ||
| 759 | (Lisp_Object name, Lisp_Object default_directory) | 761 | (Lisp_Object name, Lisp_Object default_directory) |
| 760 | { | 762 | { |
| 761 | /* These point to SDATA and need to be careful with string-relocation | 763 | /* These point to SDATA and need to be careful with string-relocation |