Commit f529fc15 authored by Eli Zaretskii's avatar Eli Zaretskii

* src/fileio.c (Fexpand_file_name): Doc fix. (Bug#27982)

parent c89f3ff3
......@@ -755,7 +755,9 @@ For technical reasons, this function can return correct but
non-intuitive results for the root directory; for instance,
\(expand-file-name ".." "/") returns "/..". For this reason, use
\(directory-file-name (file-name-directory dirname)) to traverse a
filesystem tree, not (expand-file-name ".." dirname). */)
filesystem tree, not (expand-file-name ".." dirname). Note: make
sure DIRNAME in this example doesn't end in a slash, unless it's
the root directory. */)
(Lisp_Object name, Lisp_Object default_directory)
{
/* These point to SDATA and need to be careful with string-relocation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment