diff --git a/core/core-cli-lib.el b/core/core-cli-lib.el index c2fcd8da3..b4685fd63 100644 --- a/core/core-cli-lib.el +++ b/core/core-cli-lib.el @@ -59,7 +59,7 @@ See argument types in `doom-cli-argument-types', and `defcli!' for usage.") :zshcomp "_files") (path :read expand-file-name :zshcomp "_files") (form :read read) - (regexp :test ,(doom-rpartial #'string-match-p "")) + (regexp :test ,(lambda (str) (always (string-match-p str "")))) (int :test "^[0-9]+$" :read string-to-number :error "Not an integer")