From: Lars Ingebrigtsen Date: Sat, 27 Jul 2019 12:38:40 +0000 (+0200) Subject: Doc fix for package-menu-filter X-Git-Tag: emacs-27.0.90~1817^2~75 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1d4355261d2bf8d7244c66e7ce560f2a6fcaa4a7;p=emacs.git 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). --- 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