Hi
I’ve been getting errors from `project-query-replace-regexp` (it just beeps and
gives an error about something being a directory). I’ve tracked it down to
`project--vc-list-files`, which gets a list in a variable `files` by calling
`git ls-files`. But that returns a few directories on my system, maybe because
I’m using git submodules. Later the error occurs with stack trace:
Debugger entered--Lisp error: (file-error "Read error" "Is a directory” ….)
insert-file-contents(“….”)
fileloop-next-file(t)
fileloop-continue()
project-query-replace-regexp("StyleDict" "StyleMap")
I’ve fixed the bug for my purposes by adding this line to that
`project--vc-list-files` function in `project.el`...
(setq files (seq-remove 'file-directory-p files))
But maybe there’s a better way.