summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2016-01-12 17:42:19 +0300
committerAlex Kost <alezost@gmail.com>2016-01-13 17:55:47 +0300
commit08207339aadd45630179f18fa45da1726f476ed9 (patch)
tree608105cc1dc3886e1b81a518f1c9635db404e7b9 /emacs
parent883fc5ed422cdfb32e63c963882755240c32b8f2 (diff)
downloadpatches-08207339aadd45630179f18fa45da1726f476ed9.tar
patches-08207339aadd45630179f18fa45da1726f476ed9.tar.gz
emacs: Complete --file in 'guix build' popup.
* emacs/guix-command.el (guix-command-improve-build-argument): Use 'guix-read-file-name' to complete --file option.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/guix-command.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/guix-command.el b/emacs/guix-command.el
index 9cb7032abc..cf72b0ea15 100644
--- a/emacs/guix-command.el
+++ b/emacs/guix-command.el
@@ -192,6 +192,7 @@ to be modified."
(guix-command-define-argument-improver
guix-command-improve-build-argument
'(("--no-grafts" :char ?g)
+ ("--file" :fun guix-read-file-name)
("--root" :fun guix-read-file-name)
("--sources" :char ?S :fun guix-read-source-type :switch? nil)
("--with-source" :fun guix-read-file-name)))