Subject: bug#43374: 26.1: read-directory-name not respecting MUST-MATCH arg

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 13 Sep 2020 15:36:28 +0200

Boruch Baum <[email-masked]> writes:

> based upon the function's docstring, I was expecting the following to
> return nil for a non-existing directory. Instead, it returns a string of
> the non-existing directory.
>
>    (read-directory-name "Directory: " nil nil t nil)

I'm not sure what you mean here.  If I eval that form and type "foo",
then Emacs just beeps at me and says "[No match]".

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no