[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60146: file-exists-in-trash-p needs better name or semantics
From: |
Eli Zaretskii |
Subject: |
bug#60146: file-exists-in-trash-p needs better name or semantics |
Date: |
Sat, 17 Dec 2022 19:45:02 +0200 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Paul Eggert <eggert@cs.ucla.edu>, Lars Ingebrigtsen <larsi@gnus.org>,
> 60146@debbugs.gnu.org
> Date: Sat, 17 Dec 2022 10:51:38 -0500
>
> Let me throw that hat into the ring: IIUC this is a variant of
> `file-exists-p` (currently) used only when dealing the trash, so I'd
> call it `trash--file-exists-p`.
Well, the function is defined in files.el, so starting the name with
"trash" would be frowned upon...