~ruther/guix-local

1ae15c36468e0b5111a9bc1fd26a9a6ebc7dba96 — Alex Kost 10 years ago dcb00c0
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).
1 files changed, 2 insertions(+), 1 deletions(-)

M emacs/guix-command.el
M emacs/guix-command.el => emacs/guix-command.el +2 -1
@@ 175,7 175,8 @@ to be modified."
(defvar guix-command-improve-common-build-argument
  '(("--no-substitutes"  :char ?s)
    ("--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)
  (guix-command-modify-argument-from-alist