|
From: | Stefan Monnier |
Subject: | Re: vc-find-root and nonexistent drives |
Date: | Sat, 16 Feb 2008 15:16:07 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> So how about changing the loop condition to >> >> (while (and (not (file-directory-p file)) (file-exists-p file)) >> >> ? No, that would defeat the whole purpose of this loop which is to walk up the hierarchy until we find a real directory. E.g. walk up from /some/dir/some/not/yet/existing/subdir/file up to /some/dir. I'll commit a fix. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |