Damien Cassou writes: > Dmitry Gutov writes: >> On 02/11/2023 21:58, Damien Cassou wrote: >>> If I may, the code of `project-remember-projects-under' seems to suffer >>> from a similar mismatch between the docstring and implementation when >>> RECURSIVE is nil: only the DIR directory is tested and not "known >>> projects below a directory DIR". >> >> Have you seen this problem when testing it? > > The patch is working perfectly find, thank you. I was talking about an > unrelated (but similar) problem in a different function: > `project-forget-projects-under'. My message incorrectly referred to the > function you already fixed. Sorry for the confusion. I don't think this is the same problem, in `project-forget-projects-under' there is no manual recursive descent, just some duplicated code. We could also re-write it to look like this: