Commit 7272fbf3 authored by Michael Albinus's avatar Michael Albinus
Browse files

* files.texi (Kinds of Files): The return value of file-equal-p is

unspecified, if FILE1 or FILE2 does not exist.
parent 26c872f7
2012-03-01 Michael Albinus <michael.albinus@gmx.de>
* files.texi (Kinds of Files): The return value of file-equal-p is
unspecified, if FILE1 or FILE2 does not exist.
2012-03-01 Glenn Morris <rgm@gnu.org>
* hooks.texi (Standard Hooks): Remove mode-specific hooks.
......@@ -13,7 +18,7 @@
2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
* files.texi: Rename files-equal-p to file-equal-p.
* files.texi (Kinds of Files): Rename files-equal-p to file-equal-p.
Update changed behavior of file-subdir-of-p.
2012-02-28 Glenn Morris <rgm@gnu.org>
......
......@@ -1020,16 +1020,15 @@ other I/O device).
@defun file-equal-p file1 file2
This function returns @code{t} if the files @var{file1} and
@var{file2} name the same file. Two ordinary files are considered to
be the same if the function @code{file-attributes} (@pxref{File
Attributes}) returns @code{equal} values for them.
@var{file2} name the same file. If @var{file1} or @var{file2} does
not exist, the return value is unspecified.
@end defun
@defun file-subdir-of-p dir1 dir2
This function returns @code{t} if directory @var{dir1} is a
subdirectory of @var{dir2}, or if @var{dir1} and @var{dir2} are the
same directory. It compares the @code{file-truename} values of the
two directories (@pxref{Truenames}). If @var{dir2}
two directories (@pxref{Truenames}). If @var{dir2}
do not name an existing directory, the return value is @code{nil}.
@end defun
......
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