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.
This commit is contained in:
Alex Kost 2015-09-01 13:10:41 +03:00
parent 3555771267
commit d1f80aa401
1 changed files with 6 additions and 0 deletions

View File

@ -208,6 +208,10 @@ to be modified."
guix-command-improve-graph-argument
'(("--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")