Subject: bug#66224: [PATCH] Add optional PREDICATE argument to read-directory-name

From: Michael Heerdegen <[email-masked]>
Date: Tue, 03 Oct 2023 05:30:32 +0200

Joseph Turner via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <[email-masked]> writes:

> Thank you!! See attached patch.

Yes, thanks, the code LGTM now.

You know that the predicate will be ignored when MUSTMATCH is t?
The behavior is not different than for `read-file-name'.

I think your patch is definitely a step in the right direction, but I
also still think we should think about the semantics of the restricting
arguments as a whole.

Michael.