diff options
author | Alex Kost <alezost@gmail.com> | 2015-11-04 21:54:53 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2015-11-12 21:22:35 +0300 |
commit | 8b341eb05d7c93515f8c6aff0db568146339bcb1 (patch) | |
tree | 29f944f932cb5344456b00206a0aece06b2ff67d /doc | |
parent | cfa548b4ea459110d28a7424fa73535dd4b5fc41 (diff) | |
download | patches-8b341eb05d7c93515f8c6aff0db568146339bcb1.tar patches-8b341eb05d7c93515f8c6aff0db568146339bcb1.tar.gz |
emacs: Adjust 'guix environment' popup.
* emacs/guix-command.el (guix-command-improve-environment-argument): Use
"E" for '--expose' and "S" for '--share' to distinguish them from
'--expression' and '--system' accordingly. Make '--ad-hoc' an option
taking packages instead of a simple switch.
(guix-command-rest-argument): Complete shell command instead of
packages for '--' argument.
(guix-command-additional-arguments): Add fake 'packages' argument.
New variable.
(guix-command-additional-arguments): Use it.
(guix-command-post-process-environment-packages,
guix-command-post-process-environment-ad-hoc): New functions.
(guix-command-post-processors): Add "environment" command with the new
argument processors.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions