[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49474: 28.0.50; package-menu-filter-by-status doesn't accept argumen
bug#49474: 28.0.50; package-menu-filter-by-status doesn't accept argument it claims to
Sat, 10 Jul 2021 18:54:14 +0200
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Adam Porter <email@example.com> 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
> 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
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no