help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Delete multiple repositories programmatically from elisp by supplyin


From: Emanuel Berg
Subject: Re: Delete multiple repositories programmatically from elisp by supplying `y' as the answer to an interactively called function.
Date: Tue, 07 Dec 2021 20:14:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Robert Pluim wrote:

> That function takes a 'force' argument, so if you manage to
> supply any prefix arg at all it will delete all the repos
> without prompting. One way to do that is by using
> `current-prefix-arg':
>
> (let ((current-prefix-arg '(4)))
>   (call-interactively #'straight-remove-unused-repos))

Why does it have to be used interactively?

That's often not a good sign ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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