Eli Zaretskii writes: >> From: Philip Kaludercic >> Cc: João Távora , >> monnier@iro.umontreal.ca, >> 62720@debbugs.gnu.org, larsi@gnus.org >> Date: Wed, 12 Apr 2023 19:39:20 +0000 >> >> >> Please, in normal non-shouting case, explain to me how you think >> >> that the behavior of an existing >> >> command can be changed with "completely separate code". >> > >> > I already did: either (1) add a prefix argument to an existing >> > command, which will then trigger the new behavior, or (2) add a >> > separate command. >> >> Here you have (1): > > Thanks. This is almost on-target, but it modifies > package-compute-transaction. Is that necessary? I have found an alternative that doesn't change the way `package-compute-transaction' works, but requires a small change in `package-install':