diff options
author | Alex Kost <alezost@gmail.com> | 2016-01-20 18:53:19 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2016-01-25 22:11:47 +0300 |
commit | 83aab70b2d4d11fa345c1fbf2ccdbec8b7ad6662 (patch) | |
tree | 649f2a0d01b6b6506284b3af672e4cc7f850a13b /doc | |
parent | cefb7aea9d068a03c79bb6f26ea87082ea214f10 (diff) | |
download | guix-83aab70b2d4d11fa345c1fbf2ccdbec8b7ad6662.tar guix-83aab70b2d4d11fa345c1fbf2ccdbec8b7ad6662.tar.gz |
emacs: Add 'guix-packages-by-license' command.
* emacs/guix-main.scm (packages-by-license): New procedure.
(%patterns-makers): Add 'license' search type.
* emacs/guix-messages.el (guix-message-packages-by-license): New procedure.
(guix-messages): Use it.
* emacs/guix-ui-package.el (guix-packages-by-license): New command.
* doc/emacs.texi (Emacs Commands): Document it.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/emacs.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/emacs.texi b/doc/emacs.texi index d321a89d4d..e72a386303 100644 --- a/doc/emacs.texi +++ b/doc/emacs.texi @@ -158,6 +158,9 @@ but cannot be found among available packages). @item M-x guix-packages-by-name Display package(s) with the specified name. +@item M-x guix-packages-by-license +Display package(s) with the specified license. + @item M-x guix-search-by-regexp Search for packages by a specified regexp. By default ``name'', ``synopsis'' and ``description'' of the packages will be searched. This |