~ruther/guix-local

70fd33ea75cf6af784a6c9a6a883d1d0b60c324d — Alex Kost 10 years ago 47c0f92
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').
1 files changed, 3 insertions(+), 2 deletions(-)

M emacs/guix-command.el
M emacs/guix-command.el => emacs/guix-command.el +3 -2
@@ 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