~ruther/guix-local

e1d331863469d09d104f78839a03c0a736697cbc — Alex Kost 10 years ago 402d73b
emacs: Add "Packages" option for 'guix challenge' popup.

* emacs/guix-command.el (guix-command-rest-argument): Add "challenge".
1 files changed, 3 insertions(+), 2 deletions(-)

M emacs/guix-command.el
M emacs/guix-command.el => emacs/guix-command.el +3 -2
@@ 364,8 364,9 @@ to be modified."
                     :name "-- " :char ?= :option? t args)))
    (let ((command (car commands)))
      (cond
       ((member command '("archive" "build" "graph" "edit"
                          "environment" "lint" "refresh"))
       ((member command
                '("archive" "build" "challenge" "edit" "environment"
                  "graph" "lint" "refresh"))
        (argument :doc "Packages" :fun 'guix-read-package-names-string))
       ((string= command "download")
        (argument :doc "URL"))