Mercurial > emacs
diff src/fileio.c @ 112098:40af77a50adc
Merge changes from emacs-23 branch
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 02 Jan 2011 15:28:40 -0500 |
parents | c00190a8c8ef 03c1dc6b7801 |
children | 417b1e4d63cd 7df2e30d72ec |
line wrap: on
line diff
--- a/src/fileio.c Sun Jan 02 11:23:02 2011 +0000 +++ b/src/fileio.c Sun Jan 02 15:28:40 2011 -0500 @@ -782,6 +782,8 @@ 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