From: Michael Albinus Date: Thu, 1 Mar 2012 08:21:32 +0000 (+0100) Subject: * files.texi (Kinds of Files): The return value of file-equal-p is X-Git-Tag: emacs-pretest-24.0.05~201 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7272fbf3f6f302af3a8762764b17d6a25104f999;p=emacs.git * files.texi (Kinds of Files): The return value of file-equal-p is unspecified, if FILE1 or FILE2 does not exist. --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 6918f0a2764..7e51c20dacb 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,8 @@ +2012-03-01 Michael Albinus + + * 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 * hooks.texi (Standard Hooks): Remove mode-specific hooks. @@ -13,7 +18,7 @@ 2012-02-28 Thierry Volpiatto - * 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 diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 87a3035403f..77c6766dc5d 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi @@ -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