aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-main.scm
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2014-10-21 11:48:28 +0400
committerAlex Kost <alezost@gmail.com>2014-10-27 21:52:56 +0300
commit2d7bf949277a0889ced8aa486c4ef16cb7cf6b1a (patch)
treeee13c3b61f7609c9af86318bf645398562c46a14 /emacs/guix-main.scm
parent17b50485a62d2120c27783e00a0a8dddd2d3db1f (diff)
downloadgnu-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 'emacs/guix-main.scm')
-rw-r--r--emacs/guix-main.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/emacs/guix-main.scm b/emacs/guix-main.scm
index b2f63351f0..1dd57bb71a 100644
--- a/emacs/guix-main.scm
+++ b/emacs/guix-main.scm
@@ -31,10 +31,6 @@
;; installed manifest but not in a package directory), ‘id’ parameter is
;; still "name-version" string. So ‘id’ package parameter in the code
;; below is either an object-address number or a full-name string.
-;;
-;; Important: as object addresses live only during guile session, elisp
-;; part should take care about updating information after "Guix REPL" is
-;; restarted (TODO!)
;; To speed-up the process of getting information, the following
;; auxiliary variables are used:
@@ -60,6 +56,7 @@
(guix utils)
(guix ui)
(guix scripts package)
+ (guix scripts pull)
(gnu packages))
(define-syntax-rule (first-or-false lst)