From 6f1f54c7e99a92f3c24de3e4d0947f0c8f344698 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 9 Apr 2003 01:30:40 +0000 Subject: [PATCH] (Kinds of Files): Correct return value of file-symlink-p. --- lispref/files.texi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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}. -- 2.39.2