aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2012-03-01 09:21:32 +0100
committerMichael Albinus2012-03-01 09:21:32 +0100
commit7272fbf3f6f302af3a8762764b17d6a25104f999 (patch)
treee0287beb61966bf06d192b92db9da53a1c47400b
parent26c872f722dd5547c300a2929d2387ed43baea5d (diff)
downloademacs-7272fbf3f6f302af3a8762764b17d6a25104f999.tar.gz
emacs-7272fbf3f6f302af3a8762764b17d6a25104f999.zip
* files.texi (Kinds of Files): The return value of file-equal-p is
unspecified, if FILE1 or FILE2 does not exist.
-rw-r--r--doc/lispref/ChangeLog7
-rw-r--r--doc/lispref/files.texi7
2 files changed, 9 insertions, 5 deletions
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 @@
12012-03-01 Michael Albinus <michael.albinus@gmx.de>
2
3 * files.texi (Kinds of Files): The return value of file-equal-p is
4 unspecified, if FILE1 or FILE2 does not exist.
5
12012-03-01 Glenn Morris <rgm@gnu.org> 62012-03-01 Glenn Morris <rgm@gnu.org>
2 7
3 * hooks.texi (Standard Hooks): Remove mode-specific hooks. 8 * hooks.texi (Standard Hooks): Remove mode-specific hooks.
@@ -13,7 +18,7 @@
13 18
142012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com> 192012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15 20
16 * files.texi: Rename files-equal-p to file-equal-p. 21 * files.texi (Kinds of Files): Rename files-equal-p to file-equal-p.
17 Update changed behavior of file-subdir-of-p. 22 Update changed behavior of file-subdir-of-p.
18 23
192012-02-28 Glenn Morris <rgm@gnu.org> 242012-02-28 Glenn Morris <rgm@gnu.org>
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).
1020 1020
1021@defun file-equal-p file1 file2 1021@defun file-equal-p file1 file2
1022This function returns @code{t} if the files @var{file1} and 1022This function returns @code{t} if the files @var{file1} and
1023@var{file2} name the same file. Two ordinary files are considered to 1023@var{file2} name the same file. If @var{file1} or @var{file2} does
1024be the same if the function @code{file-attributes} (@pxref{File 1024not exist, the return value is unspecified.
1025Attributes}) returns @code{equal} values for them.
1026@end defun 1025@end defun
1027 1026
1028@defun file-subdir-of-p dir1 dir2 1027@defun file-subdir-of-p dir1 dir2
1029This function returns @code{t} if directory @var{dir1} is a 1028This function returns @code{t} if directory @var{dir1} is a
1030subdirectory of @var{dir2}, or if @var{dir1} and @var{dir2} are the 1029subdirectory of @var{dir2}, or if @var{dir1} and @var{dir2} are the
1031same directory. It compares the @code{file-truename} values of the 1030same directory. It compares the @code{file-truename} values of the
1032two directories (@pxref{Truenames}). If @var{dir2} 1031two directories (@pxref{Truenames}). If @var{dir2}
1033do not name an existing directory, the return value is @code{nil}. 1032do not name an existing directory, the return value is @code{nil}.
1034@end defun 1033@end defun
1035 1034