Subject: Re: bug#60562: [PATCH] Fix split-string error if there is a space in the filename.

From: lux <[email-masked]>
Date: Mon, 09 Jan 2023 22:55:58 +0800

Robert Pluim <[email-masked]> writes:

>     >>
>     >> Also, in this change, we are dropping the requirement that the found
>     >> file are actually files, whereas we used to say "-type f".  Is this
>     >> change fine?
>     >>
>
> `directory-files-recursively' by default only returns files (and the
> latest patch explicitly passes `nil' for INCLUDE-DIRECTORIES anyway)
>

"-type f" will return all regular files, `directory-files-recursively'
contains all types of files (socket, block, etc..), so I latest patch
added `file-regular-p' to check the file type.