# HG changeset patch # User Richard M. Stallman # Date 1058887553 0 # Node ID 0509fad02151c1d28458d6d9edef94723761ff20 # Parent 26d4153f70a1b11cf74868ddf91003d9f8ab1dc3 (Truenames): Add LIMIT arg to file-chase-links. diff -r 26d4153f70a1 -r 0509fad02151 lispref/files.texi --- a/lispref/files.texi Tue Jul 22 15:25:22 2003 +0000 +++ b/lispref/files.texi Tue Jul 22 15:25:53 2003 +0000 @@ -948,10 +948,12 @@ @var{filename}. The argument must be an absolute file name. @end defun -@defun file-chase-links filename +@defun file-chase-links filename &optional limit This function follows symbolic links, starting with @var{filename}, until it finds a file name which is not the name of a symbolic link. -Then it returns that file name. +Then it returns that file name. If you specify a number for +@var{limit}, then after chasing through that many links, the function +just returns what it as even if that is still a symbolic link. @end defun To illustrate the difference between @code{file-chase-links} and