[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66224: [PATCH] Add optional PREDICATE argument to read-directory-nam
From: |
Joseph Turner |
Subject: |
bug#66224: [PATCH] Add optional PREDICATE argument to read-directory-name |
Date: |
Thu, 28 Sep 2023 20:28:52 -0700 |
Philip Kaludercic <philipk@posteo.net> writes:
>
> I am not sure this makes sense, #'file-directory-p is always non-nil but
> a PREDICATE will only be passed on to `read-file-name' is PREDICATE is
> also non-nil. So if no PREDICATE is passed, the expression ignored
> #'file-directory-p, breaking `read-directory-name', or am I mistaken (I
> haven't tried it out)?
Oops! Thanks for catching my error!! The attached patch should actually
do what I intended.
Joseph
0001-Add-optional-PREDICATE-argument-to-read-directory-na.patch
Description: Text Data