emacs: Fix '--rounds' option in command popups.

* emacs/guix-command.el (guix-command-improve-common-build-argument):
  Use "R" key for '--rounds' option to avoid conflicts with "r" key in
  'build' popup (--root) and 'package' popup (--remove).
This commit is contained in:
Alex Kost 2015-12-09 19:41:07 +03:00
parent dcb00c0ad5
commit 1ae15c3646

View file

@ -175,7 +175,8 @@ to be modified."
(defvar guix-command-improve-common-build-argument (defvar guix-command-improve-common-build-argument
'(("--no-substitutes" :char ?s) '(("--no-substitutes" :char ?s)
("--no-build-hook" :char ?h) ("--no-build-hook" :char ?h)
("--max-silent-time" :char ?x))) ("--max-silent-time" :char ?x)
("--rounds" :char ?R :fun read-number)))
(defun guix-command-improve-common-build-argument (argument) (defun guix-command-improve-common-build-argument (argument)
(guix-command-modify-argument-from-alist (guix-command-modify-argument-from-alist