Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp]

From: Eli Zaretskii <[email-masked]>
Date: Fri, 01 Jul 2022 21:13:28 +0300

> From: Rudolf Schlatte <[email-masked]>
> Date: Fri, 01 Jul 2022 18:18:16 +0200
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > It shouldn't be hard to implement, but do we want to delete such a
> > directory only under ~/.emacs.d/eln-cache/, or under all the
> > directories in native-comp-eln-load-path?
> 
> How about only deleting .eln files below these directories, and removing
> the directories only when they are empty afterwards?  I'm suddenly
> imagining users who put other files into such directories, or add their
> home directory to native-comp-eln-load-path, or ...

IMO, that makes no sense.  These directories are for the *.eln files
only.