Subject: dired-copy-filename-as-kill should beep if not on a file line
From: 積丹尼 Dan Jacobson <[email-masked]>
To: [email-masked]
Date: Sat, 01 Jan 2022 11:24:25 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

w runs the command dired-copy-filename-as-kill.
But if it is not on a filename, e.g., on the "total" line,
or on the line at the end of the buffer with no file on it,
it should beep.