guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: emacs: Use "r" key for 'cran' action in 'import' popup.


From: Alex Kost
Subject: 01/05: emacs: Use "r" key for 'cran' action in 'import' popup.
Date: Wed, 02 Sep 2015 18:57:04 +0000

alezost pushed a commit to branch master
in repository guix.

commit d1f80aa401a331072f5c4b837d81c659fe6b5fd1
Author: Alex Kost <address@hidden>
Date:   Tue Sep 1 13:10:41 2015 +0300

    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 files changed, 6 insertions(+), 0 deletions(-)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]