summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2016-02-07 11:08:57 +0300
committerAlex Kost <alezost@gmail.com>2016-02-10 01:31:19 +0300
commit2c04e2eec8bf250d1e928b7c8b1e60424b0b32fa (patch)
tree03e58fc32ef89d25196a3c705163a811460e1ab4 /doc
parentf1957fc145dc531b977b702d2947d84d9122042c (diff)
downloadguix-2c04e2eec8bf250d1e928b7c8b1e60424b0b32fa.tar.gz
emacs: 'C-u M-x guix-edit' prompts for directory.
* emacs/guix-base.el (guix-read-directory): New procedure.
(guix-find-location, guix-edit): Add optional 'directory' argument.
* emacs/guix-ui-package.el (guix-package-list-edit)
(guix-output-list-edit): Likewise.
* doc/emacs.texi (Emacs Commands): Mention "C-u".
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 d46c17c4a0..dbe59f0243 100644
--- a/doc/emacs.texi
+++ b/doc/emacs.texi
@@ -240,6 +240,9 @@ this:
 @kbd{M-x guix-edit guix} opens
 @file{~/src/guix/gnu/packages/package-management.scm} file.
 
+Also you can use @kbd{C-u} prefix argument to specify a directory just
+for the current @kbd{M-x guix-edit} command.
+
 
 @node Emacs General info
 @subsection General information