# HG changeset patch # User Richard M. Stallman # Date 1199425592 0 # Node ID 7a1e83fce56fea9b4f3a0052976c50c9ed53282e # Parent 309520d439e4490be5fe7f5a4b78ee6190a44089 (Ffile_name_directory, Fexpand_file_name): Doc fixes. diff -r 309520d439e4 -r 7a1e83fce56f src/fileio.c --- a/src/fileio.c Fri Jan 04 05:45:39 2008 +0000 +++ b/src/fileio.c Fri Jan 04 05:46:32 2008 +0000 @@ -410,7 +410,7 @@ 1, 1, 0, doc: /* Return the directory component in file name FILENAME. Return nil if FILENAME does not include a directory. -Otherwise return a directory spec. +Otherwise return a directory name. Given a Unix syntax file name, returns a string ending in slash; on VMS, perhaps instead a string ending in `:', `]' or `>'. */) (filename) @@ -1029,7 +1029,7 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0, doc: /* Convert filename NAME to absolute, and canonicalize it. Second arg DEFAULT-DIRECTORY is directory to start with if NAME is relative -\(does not start with slash); if DEFAULT-DIRECTORY is nil or missing, +\(does not start with slash or tilde); if DEFAULT-DIRECTORY is nil or missing, the current buffer's value of `default-directory' is used. File name components that are `.' are removed, and so are file name components followed by `..', along with the `..' itself;