* files.texi (Kinds of Files): The return value of file-equal-p is
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 1 Mar 2012 08:21:32 +0000 (09:21 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 1 Mar 2012 08:21:32 +0000 (09:21 +0100)
unspecified, if FILE1 or FILE2 does not exist.

doc/lispref/ChangeLog
doc/lispref/files.texi

index 6918f0a..7e51c20 100644 (file)
@@ -1,3 +1,8 @@
+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>
index 87a3035..77c6766 100644 (file)
@@ -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