From: Richard M. Stallman Date: Wed, 9 Apr 2003 01:30:40 +0000 (+0000) Subject: (Kinds of Files): Correct return value of file-symlink-p. X-Git-Tag: ttn-vms-21-2-B4~10588 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6f1f54c7e99a92f3c24de3e4d0947f0c8f344698;p=emacs.git (Kinds of Files): Correct return value of file-symlink-p. --- diff --git a/lispref/files.texi b/lispref/files.texi index cb28ac8607b..69680e532f4 100644 --- a/lispref/files.texi +++ b/lispref/files.texi @@ -859,10 +859,10 @@ as directories, symbolic links, and ordinary files. @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}.