From 1d4355261d2bf8d7244c66e7ce560f2a6fcaa4a7 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 27 Jul 2019 14:38:40 +0200 Subject: [PATCH] Doc fix for package-menu-filter * lisp/emacs-lisp/package.el (package-menu-filter): Document the use of arc:ARCHIVE and status:STATUS (bug#24883). --- lisp/emacs-lisp/package.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 5e9caf58a64..15f0f93cf5b 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -3543,10 +3543,16 @@ shown." (defun package-menu-filter (keyword) "Filter the *Packages* buffer. Show only those items that relate to the specified KEYWORD. + KEYWORD can be a string or a list of strings. If it is a list, a package will be displayed if it matches any of the keywords. Interactively, it is a list of strings separated by commas. +KEYWORD can also be used to filter by status or archive name by +using keywords like \"arc:gnu\" and \"status:available\". +Statuses available include \"incompat\", \"available\", +\"built-in\" and \"installed\". + To restore the full package list, type `q'." (interactive (list (completing-read-multiple -- 2.39.2