aboutsummaryrefslogtreecommitdiff
path: root/doc/emacs.texi
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-06-19 21:57:04 +0300
committerAlex Kost <alezost@gmail.com>2015-06-22 22:19:19 +0300
commit6248e3263523c81ec1427f41d56faac3384a35d4 (patch)
treeed729eb52e362a406d7e142dad145e5e399b7037 /doc/emacs.texi
parent6a8c9545cb9702236586d905b9ebbf2790fcdf91 (diff)
downloadguix-6248e3263523c81ec1427f41d56faac3384a35d4.tar
guix-6248e3263523c81ec1427f41d56faac3384a35d4.tar.gz
emacs: Add "edit" command to a list of packages.
* emacs/guix-base.el (guix-edit-package): New function. * emacs/guix-list.el (guix-list-edit-package): New command. Bind it to "e" key. * emacs/guix-main.scm (package-location-string): New procedure. * doc/emacs.texi (Emacs List buffer): Document "e" key binding. * doc/guix.texi (Invoking guix edit): Mention "package list" buffer.
Diffstat (limited to 'doc/emacs.texi')
-rw-r--r--doc/emacs.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/emacs.texi b/doc/emacs.texi
index 17682c3a51..0e89a11668 100644
--- a/doc/emacs.texi
+++ b/doc/emacs.texi
@@ -268,6 +268,10 @@ Mark the current package for deletion.
Mark the current package for upgrading.
@item ^
Mark all obsolete packages for upgrading.
+@item e
+Edit the definition of the curent package (go to its location). This is
+similar to @command{guix edit} command (@pxref{Invoking guix edit}), but
+for opening a package recipe in the current Emacs instance.
@item x
Execute actions on the marked packages.
@end table