Subject: Re: bug#49474: 28.0.50; package-menu-filter-by-status doesn't accept argument it claims to

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 10 Jul 2021 18:54:14 +0200

Adam Porter <[email-masked]> writes:

> The docstring for the function package-menu-filter-by-status says:
>
>     When called interactively, prompt for STATUS, which can be a
>     comma-separated string.  If STATUS is empty, show all packages.
>
>     When called from Lisp, STATUS can be a string or a list of
>     strings.  If STATUS is nil or the empty string, show all
>     packages.
>
> However, when given a comma-separated string or a list of strings, it
> doesn't work, because it applies a filter predicate that calls
> string-match-p, which expects a regexp string.

Yup.  I've now changed the command (in Emacs 28) to work as documented.
Hopefully nobody were relying on the previous, undocumented regexp-match
behaviour.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no