diff options
author | Alex Kost <alezost@gmail.com> | 2015-10-28 21:11:36 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2015-11-02 15:51:40 +0300 |
commit | 6407ce8ea1b67024e50273b7d6a1773a16a42322 (patch) | |
tree | 31b1547a930dff2b4536d4c82f160670b39b5c5a /emacs/guix-command.el | |
parent | 762b1971d8e21ffbc46d28b37c9bace64c2369bc (diff) | |
download | guix-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 'emacs/guix-command.el')
-rw-r--r-- | emacs/guix-command.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/guix-command.el b/emacs/guix-command.el index 36ce7bcb09..f8a6df7c6a 100644 --- a/emacs/guix-command.el +++ b/emacs/guix-command.el @@ -241,6 +241,7 @@ to be modified." (guix-command-define-argument-improver guix-command-improve-refresh-argument '(("--select" :fun guix-read-refresh-subset) + ("--type" :fun guix-read-refresh-updater-names-string) ("--key-server" :char ?S))) (guix-command-define-argument-improver |