aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-command.el
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-09-01 13:10:41 +0300
committerAlex Kost <alezost@gmail.com>2015-09-02 17:00:06 +0300
commitd1f80aa401a331072f5c4b837d81c659fe6b5fd1 (patch)
tree8da71aeda6a3daa7e8593694095b12597a5d4be3 /emacs/guix-command.el
parent35557712679ceb2c5187795b6c1108adfe45fa5c (diff)
downloadpatches-d1f80aa401a331072f5c4b837d81c659fe6b5fd1.tar
patches-d1f80aa401a331072f5c4b837d81c659fe6b5fd1.tar.gz
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.
Diffstat (limited to 'emacs/guix-command.el')
-rw-r--r--emacs/guix-command.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/guix-command.el b/emacs/guix-command.el
index 3513300576..81f619f434 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")