diff lispref/files.texi @ 52003:0509fad02151

(Truenames): Add LIMIT arg to file-chase-links.
author Richard M. Stallman <rms@gnu.org>
date Tue, 22 Jul 2003 15:25:53 +0000
parents 3abc365e9d90
children 3b706f94b559
line wrap: on
line diff
--- 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