[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56754: 28.1; Please move general stuff from `ffap.el' to `files.el'
From: |
Lars Ingebrigtsen |
Subject: |
bug#56754: 28.1; Please move general stuff from `ffap.el' to `files.el' |
Date: |
Tue, 26 Jul 2022 14:49:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Drew Adams <drew.adams@oracle.com> writes:
> One example of such a function: `ffap-all-subdirs' (and its internal
> helper function `ffap-all-subdirs-loop').
>
> Yes, a library that doesn't want to require `ffap.el' could always get
> the same effect using more general file utilities - in this case
> `directory-files-recursively' (matching a vacuous regexp and providing a
> predicate). But something like `ffap-all-subdirs' is convenient for
> doing just what it does.
I don't think ffap-all-subdirs is generally useful:
---
Directories beginning with \".\" are ignored, and directory symlinks
are listed but never searched (to avoid loops).
---
It's well-suited for what ffap does, though, which is why it lives in
that file.
Closing.