From 1b2a627f96907faf36fc1603524cc0f9d16b7b5b Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 13 Dec 2010 18:13:29 +0200 Subject: [PATCH] Fix bug #7617 with documentation of expand-file-name. fileio.c (Fexpand_file_name): One more doc fix. --- src/ChangeLog | 4 ++++ src/fileio.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 97401ffe40a..4d1225a112e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-12-13 Eli Zaretskii + + * fileio.c (Fexpand_file_name): One more doc fix. + 2010-12-12 Eli Zaretskii * fileio.c (Fexpand_file_name): Doc fix. (Bug#7617) diff --git a/src/fileio.c b/src/fileio.c index e330f724142..da19c1e2a21 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -828,6 +828,8 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0, Second arg DEFAULT-DIRECTORY is directory to start with if NAME is relative \(does not start with slash or tilde); if DEFAULT-DIRECTORY is nil or missing, the current buffer's value of `default-directory' is used. +NAME should be a string that is a valid file name for the underlying +filesystem. File name components that are `.' are removed, and so are file name components followed by `..', along with the `..' itself; note that these simplifications are done without checking the resulting -- 2.39.5