emacs: command: Disambiguate "w" key in build options.

This is a followup to commit 47c0f92c37.

* emacs/guix-command.el (guix-command-improve-common-build-argument):
  Use "W" key for '--with-input' option (leave "w" for '--with-source').
This commit is contained in:
Alex Kost 2016-02-01 20:53:21 +03:00
parent 47c0f92c37
commit 70fd33ea75

View file

@ -1,6 +1,6 @@
;;; guix-command.el --- Popup interface for guix commands -*- lexical-binding: t -*- ;;; 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. ;; This file is part of GNU Guix.
@ -176,7 +176,8 @@ to be modified."
'(("--no-substitutes" :char ?s) '(("--no-substitutes" :char ?s)
("--no-build-hook" :char ?h) ("--no-build-hook" :char ?h)
("--max-silent-time" :char ?x) ("--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) (defun guix-command-improve-common-build-argument (argument)
(guix-command-modify-argument-from-alist (guix-command-modify-argument-from-alist