diff options
author | Alex Kost <alezost@gmail.com> | 2014-10-21 11:48:28 +0400 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2014-10-27 21:52:56 +0300 |
commit | 2d7bf949277a0889ced8aa486c4ef16cb7cf6b1a (patch) | |
tree | ee13c3b61f7609c9af86318bf645398562c46a14 /doc/emacs.texi | |
parent | 17b50485a62d2120c27783e00a0a8dddd2d3db1f (diff) | |
download | gnu-guix-2d7bf949277a0889ced8aa486c4ef16cb7cf6b1a.tar gnu-guix-2d7bf949277a0889ced8aa486c4ef16cb7cf6b1a.tar.gz |
emacs: Add 'guix-pull' command.
* emacs/guix-base.el (guix-pull): New command.
(guix-update-after-pull, guix-after-pull-hook): New variables.
(guix-restart-repl-after-pull, guix-update-buffers-maybe-after-pull): New
procedures.
* emacs/guix-main.scm: Use (guix scripts pull) module.
* doc/emacs.texi (Emacs Commands): Document 'guix-pull' command.
Diffstat (limited to 'doc/emacs.texi')
-rw-r--r-- | doc/emacs.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/emacs.texi b/doc/emacs.texi index 4c3833ad0b..17440e4b46 100644 --- a/doc/emacs.texi +++ b/doc/emacs.texi @@ -133,6 +133,17 @@ date/time prompt,,, org, Org Mode Manual}). @end table +You can also invoke the @command{guix pull} command (@pxref{Invoking +guix pull}) from Emacs using: + +@table @kbd +@item M-x guix-pull +With @kbd{C-u}, make it verbose. +@end table + +Once @command{guix pull} has succeeded, the Guix REPL is restared. This +allows you to keep using the Emacs interface with the updated Guix. + @node Emacs General info @subsubsection General information |