summaryrefslogtreecommitdiff
path: root/guix/scripts/refresh.scm
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-10-28 21:11:36 +0300
committerAlex Kost <alezost@gmail.com>2015-11-02 15:51:40 +0300
commit6407ce8ea1b67024e50273b7d6a1773a16a42322 (patch)
tree31b1547a930dff2b4536d4c82f160670b39b5c5a /guix/scripts/refresh.scm
parent762b1971d8e21ffbc46d28b37c9bace64c2369bc (diff)
downloadguix-patches-6407ce8ea1b67024e50273b7d6a1773a16a42322.tar
guix-patches-6407ce8ea1b67024e50273b7d6a1773a16a42322.tar.gz
emacs: Add completions for '--type' option of 'refresh' popup.
* guix/scripts/refresh.scm: Export '%updaters'. * emacs/guix-main.scm (refresh-updater-names): New procedure. * emacs/guix-base.el (guix-refresh-updater-names): New function. * emacs/guix-read.el (guix-read-refresh-updater-names, guix-read-refresh-updater-names-string): New functions. * emacs/guix-command.el (guix-command-improve-refresh-argument): Use 'guix-read-refresh-updater-names-string'.
Diffstat (limited to 'guix/scripts/refresh.scm')
-rw-r--r--guix/scripts/refresh.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index 04f6b76edc..0df4121d0a 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -42,7 +42,8 @@
#:use-module (srfi srfi-26)
#:use-module (srfi srfi-37)
#:use-module (rnrs io ports)
- #:export (guix-refresh))
+ #:export (guix-refresh
+ %updaters))
;;;