From 1ae15c36468e0b5111a9bc1fd26a9a6ebc7dba96 Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Wed, 9 Dec 2015 19:41:07 +0300 Subject: [PATCH] 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). --- emacs/guix-command.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs/guix-command.el b/emacs/guix-command.el index ddd3dd536e..ccd85d25b9 100644 --- a/emacs/guix-command.el +++ b/emacs/guix-command.el @@ -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