summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2016-04-08 11:49:39 +0300
committerAlex Kost <alezost@gmail.com>2016-04-26 12:32:56 +0300
commit8472b2fd2d4c4d060b1333c9c527575d965a0ebd (patch)
tree1087b721435b64fb71cb93f4c7db132ac346f2e4 /doc
parentf674439433da47efd7253b59dbd27641c3aa6fbc (diff)
downloadpatches-8472b2fd2d4c4d060b1333c9c527575d965a0ebd.tar
patches-8472b2fd2d4c4d060b1333c9c527575d965a0ebd.tar.gz
emacs: Add 'guix-find-license-definition' command.
* emacs/guix-license.el (guix-license-file): New procedure. (guix-find-license-definition): New command. * doc/emacs.texi (Emacs Licenses): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/emacs.texi b/doc/emacs.texi
index ed8896ad43..575e87c262 100644
--- a/doc/emacs.texi
+++ b/doc/emacs.texi
@@ -544,6 +544,9 @@ Display a list of available licenses. You can press @kbd{@key{RET}}
there to display packages with this license in the same way as @kbd{M-x
guix-packages-by-license} would do (@pxref{Emacs Commands}).
+@item M-x guix-find-license-definition
+Open @file{@dots{}/guix/licenses.scm} and move to the specified license.
+
@end table