From 3fe81f429152afba30fcd9ec76262ce6b329dd4a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 10 Sep 2022 00:06:40 +0200 Subject: [PATCH] fix(cli): wrong-number-of-args error when auto-resolving prompts E.g. 'doom sync -!' will auto-resolve repo conflicts, but this error was preventing that. --- lisp/cli/packages.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/cli/packages.el b/lisp/cli/packages.el index fc30700e3..6b0c14e93 100644 --- a/lisp/cli/packages.el +++ b/lisp/cli/packages.el @@ -739,7 +739,7 @@ it doesn't make sense to slack." (if (doom-cli-context-suppress-prompts-p doom-cli--context) (cl-loop for (_key desc func) in actions when desc - when (doom-cli--straight-recommended-option-p prompt desc t) + when (doom-cli--straight-recommended-option-p prompt desc) return (funcall func)) (print! (start "%s") (red prompt)) (print-group!