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: Hongyi Zhao
Subject: Re: Delete multiple repositories programmatically from elisp by supplying `y' as the answer to an interactively called function.
Date: Wed, 8 Dec 2021 07:35:52 +0800

On Wed, Dec 8, 2021 at 1:05 AM Robert Pluim <rpluim@gmail.com> 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))

Thank you for pointing this out. It does the trick.

HZ



reply via email to

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