summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-12-09 19:41:07 +0300
committerAlex Kost <alezost@gmail.com>2015-12-09 19:55:04 +0300
commit1ae15c36468e0b5111a9bc1fd26a9a6ebc7dba96 (patch)
tree5d622fb585af708846c56948cf0bd33eec7b57f8
parentdcb00c0ad5f33d76dc4cac03ba6f7f8568ddfc57 (diff)
downloadguix-1ae15c36468e0b5111a9bc1fd26a9a6ebc7dba96.tar.gz
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).
-rw-r--r--emacs/guix-command.el3
1 files changed, 2 insertions, 1 deletions
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