summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-07-27 14:38:40 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-07-27 14:38:40 +0200
commit1d4355261d2bf8d7244c66e7ce560f2a6fcaa4a7 (patch)
tree7342c1c1258f7e939b2a9ea91990da73ad4c0673 /lisp/emacs-lisp
parent0154e83a38071fafd7b32f2c3b5e92d850a617e4 (diff)
downloademacs-1d4355261d2bf8d7244c66e7ce560f2a6fcaa4a7.tar.gz
emacs-1d4355261d2bf8d7244c66e7ce560f2a6fcaa4a7.tar.bz2
emacs-1d4355261d2bf8d7244c66e7ce560f2a6fcaa4a7.zip
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).
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package.el6
1 files changed, 6 insertions, 0 deletions
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