[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Juri Linkov
Subject: bug#30938: 27.0; `dired-do-create-files' etc.: do NOT always raise error if no files
Date: Thu, 29 Mar 2018 23:04:54 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]