|
From: | Jan D. |
Subject: | Re: find-file dialog in Carbon Emacs is broken |
Date: | Mon, 11 Oct 2004 19:01:02 +0200 |
I don't know what is best, to have a new function that reads directories,or to extend the MUST-MATCH parameter with some value that indicates a directory read.What's wrong with read-directory-name?
Nothing, except dired does not use it, it uses read-file-name and the information that a directory is wanted is in the predicate, so it is not easy in the general case for read-file-name to figure out that a directory is wanted (the caller may have written its own predicate). Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |