emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recent change to file-chase-links has a bug


From: Kevin Rodgers
Subject: Re: Recent change to file-chase-links has a bug
Date: Wed, 09 Apr 2003 15:26:57 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Kai Gro├čjohann wrote:

Kenichi Handa <address@hidden> writes:
Now the code is as below:

(defun file-chase-links (filename &optional limit)
 "Chase links in FILENAME until a name that is not a link.
Unlike `file-truename', this does not check whether a parent
directory name is a symbolic link.
If the optional argument LIMIT is a number,
it means chase no more than that many links and then stop."
 (let (tem (newname filename)
            (count 0)
            (max (max limit 100)))

Wild guess: Richard meant (or limit 100) instead of (max limit 100).


That seems like an awfully conservative default.  How about bumping it up to
1024?

--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]