>From 1cc6871abf3d53ad5702fde5570df8a61a945010 Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Tue, 1 Sep 2015 13:10:41 +0300 Subject: [PATCH] emacs: Use "r" key for 'cran' action in 'import' popup. * emacs/guix-command.el (guix-command-improve-import-argument): New variable and function. (guix-command-argument-improvers): Add it. --- emacs/guix-command.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emacs/guix-command.el b/emacs/guix-command.el index 3513300..81f619f 100644 --- a/emacs/guix-command.el +++ b/emacs/guix-command.el @@ -209,6 +209,10 @@ to be modified." '(("--type" :fun guix-read-graph-type))) (guix-command-define-argument-improver + guix-command-improve-import-argument + '(("cran" :char ?r))) + +(guix-command-define-argument-improver guix-command-improve-import-elpa-argument '(("--archive" :fun guix-read-elpa-archive))) @@ -275,6 +279,8 @@ to be modified." guix-command-improve-gc-argument) (("graph") guix-command-improve-graph-argument) + (("import") + guix-command-improve-import-argument) (("import" "gnu") guix-command-improve-key-policy-argument) (("import" "elpa") -- 2.4.3