summary refs log tree commit diff
path: root/emacs/guix-command.el
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2016-02-01 20:53:21 +0300
committerAlex Kost <alezost@gmail.com>2016-02-01 21:23:38 +0300
commit70fd33ea75cf6af784a6c9a6a883d1d0b60c324d (patch)
tree379cd43a9f01b93a0d5c7e5eb0a0bfdbbe354983 /emacs/guix-command.el
parent47c0f92c37dc7d50d9d4598ce5b91c4cdfec6ed1 (diff)
downloadguix-70fd33ea75cf6af784a6c9a6a883d1d0b60c324d.tar.gz
emacs: command: Disambiguate "w" key in build options.
This is a followup to commit 47c0f92c37dc7d50d9d4598ce5b91c4cdfec6ed1.

* emacs/guix-command.el (guix-command-improve-common-build-argument):
  Use "W" key for '--with-input' option (leave "w" for '--with-source').
Diffstat (limited to 'emacs/guix-command.el')
-rw-r--r--emacs/guix-command.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/emacs/guix-command.el b/emacs/guix-command.el
index ba6c3d2ba9..7069c51649 100644
--- a/emacs/guix-command.el
+++ b/emacs/guix-command.el
@@ -1,6 +1,6 @@
 ;;; guix-command.el --- Popup interface for guix commands  -*- lexical-binding: t -*-
 
-;; Copyright © 2015 Alex Kost <alezost@gmail.com>
+;; Copyright © 2015, 2016 Alex Kost <alezost@gmail.com>
 
 ;; This file is part of GNU Guix.
 
@@ -176,7 +176,8 @@ to be modified."
   '(("--no-substitutes"  :char ?s)
     ("--no-build-hook"   :char ?h)
     ("--max-silent-time" :char ?x)
-    ("--rounds"          :char ?R :fun read-number)))
+    ("--rounds"          :char ?R :fun read-number)
+    ("--with-input"      :char ?W)))
 
 (defun guix-command-improve-common-build-argument (argument)
   (guix-command-modify-argument-from-alist