summary refs log tree commit diff
path: root/emacs/guix-help-vars.el
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-11-04 21:54:53 +0300
committerAlex Kost <alezost@gmail.com>2015-11-12 21:22:35 +0300
commit8b341eb05d7c93515f8c6aff0db568146339bcb1 (patch)
tree29f944f932cb5344456b00206a0aece06b2ff67d /emacs/guix-help-vars.el
parentcfa548b4ea459110d28a7424fa73535dd4b5fc41 (diff)
downloadguix-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 'emacs/guix-help-vars.el')
0 files changed, 0 insertions, 0 deletions