Currently in "M-x guix RET system" there are 2 "d" keys: for 'dmd-graph'
and for 'disk-image'.  I think since there is already a capital "V" for
'vm-image', it's OK to use a capital "D" for 'disk-image'.  WDYT?

>From 650798af68b55e7c763118d16ea6a03cbbbc04cc Mon Sep 17 00:00:00 2001
From: Alex Kost <[email protected]>
Date: Thu, 15 Oct 2015 21:09:33 +0300
Subject: [PATCH] emacs: Disambiguate "d" key in 'system' popup.

* emacs/guix-command.el (guix-command-improve-system-argument): Use "D"
  key for 'disk-image' action (leave "d" for 'dmd-graph').
---
 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 b679ad9..3ae7791 100644
--- a/emacs/guix-command.el
+++ b/emacs/guix-command.el
@@ -249,7 +249,8 @@ to be modified."
 
 (guix-command-define-argument-improver
     guix-command-improve-system-argument
-  '(("vm-image"    :char ?V)
+  '(("disk-image"  :char ?D)
+    ("vm-image"    :char ?V)
     ("--on-error"  :char ?E)
     ("--no-grub"   :char ?g)
     ("--full-boot" :char ?b)))
-- 
2.5.0

Reply via email to