Subject: bug#30938: 27.0; `dired-do-create-files' etc.: do NOT always raise error if no files

From: Juri Linkov <[email-masked]>
Date: Thu, 29 Mar 2018 23:04:54 +0300

> Emacs has already updated those 13 commands (there's one
> also in dired-x.el) to add the 5th arg to their calls to
> `dired-get-marked-files'.  The only further change needed
> is to pass that arg as non-nil only when the command is
> called interactively.  It is only in the interactive case
> that we can know (assume) that such an error should be
> raised.

Don't you see there is something wrong in adding the same INTERACTIVEP
arg to all these 13 commands and possibly to more 15 other commands?
What I'm asking for is an alternative, e.g. to detect if the command is
called interactively and raise an error only in this case.