changeset 50501:3bf63c244c44

(Kinds of Files): Correct return value of file-symlink-p.
author Richard M. Stallman <rms@gnu.org>
date Wed, 09 Apr 2003 01:30:40 +0000
parents 8fcca6e6a7a1
children c94093d2e642
files lispref/files.texi
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/files.texi	Wed Apr 09 01:29:18 2003 +0000
+++ b/lispref/files.texi	Wed Apr 09 01:30:40 2003 +0000
@@ -859,10 +859,10 @@
 
 @defun file-symlink-p filename
 @cindex file symbolic links
-If the file @var{filename} is a symbolic link, the @code{file-symlink-p}
-function returns the file name to which it is linked.  This may be the
-name of a text file, a directory, or even another symbolic link, or it
-may be a nonexistent file name.
+If the file @var{filename} is a symbolic link, the
+@code{file-symlink-p} function returns the link target as a string.
+(Determining the file name that the link points to from the target is
+nontrivial.)
 
 If the file @var{filename} is not a symbolic link (or there is no such file),
 @code{file-symlink-p} returns @code{nil}.