diff options
author | Alex Kost <alezost@gmail.com> | 2016-04-05 23:39:03 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2016-05-10 12:05:53 +0300 |
commit | f8476e17a70ecc7d46c746480130477b7c35306b (patch) | |
tree | 155ea4146af6c6a6a416eca3a31fa822fab96c23 /doc | |
parent | 3be33289272beda681afa9a48d52fa9a84bcd049 (diff) | |
download | guix-f8476e17a70ecc7d46c746480130477b7c35306b.tar.gz |
emacs: Add 'guix-package-from-file' command.
* emacs/guix-main.scm (register-package, packages-from-file): New procedures. (%patterns-makers): Add 'from-file' search type. * emacs/guix-messages.el (guix-messages): Add messages for it. * emacs/guix-ui-package.el (guix-package-from-file): New command. (guix-package-info-insert-location): Adjust for 'from-file' type. * doc/emacs.texi (Emacs Commands): Document it.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/emacs.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/emacs.texi b/doc/emacs.texi index 575e87c262..d124eca3cb 100644 --- a/doc/emacs.texi +++ b/doc/emacs.texi @@ -166,6 +166,11 @@ Display package(s) located in the specified file. These files usually have the following form: @file{gnu/packages/emacs.scm}, but don't type them manually! Press @key{TAB} to complete the file name. +@item M-x guix-package-from-file +Display package that the code within the specified file evaluates to. +@xref{Invoking guix package, @code{--install-from-file}}, for an example +of what such a file may look like. + @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 |