diff options
author | Alex Kost <alezost@gmail.com> | 2014-10-14 20:43:10 +0400 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2014-10-16 10:09:53 +0400 |
commit | 49d758d212d78976d6679125fa1731537c768526 (patch) | |
tree | 47f77d6ec5ad784a721b98e855768c0518a567a3 /tests | |
parent | 063b60be7b0de45630095cf22f097eaa1953f863 (diff) | |
download | patches-49d758d212d78976d6679125fa1731537c768526.tar patches-49d758d212d78976d6679125fa1731537c768526.tar.gz |
emacs: Support auto-updating after performing REPL operation.
* emacs/guix-backend.el (guix-operation-buffer): New variable.
(guix-eval-in-repl): Use it. Add optional 'operation-buffer' argument.
* emacs/guix-base.el (guix-update-after-operation): New variable.
(guix-switch-to-buffer, guix-list-or-info-buffer-p, guix-buffers,
guix-update-buffers-maybe): New procedures.
(guix-set-buffer): Use 'guix-switch-to-buffer'. Add optional 'no-display'
argument.
(guix-process-package-actions, guix-delete-generations,
guix-switch-to-generation): Add optional 'operation-buffer' argument.
* emacs/guix-info.el (guix-package-info-insert-action-button,
guix-generation-info-insert-number, guix-generation-info-insert-current):
Adjust for using operation buffer.
* emacs/guix-list.el (guix-list-execute-package-actions,
guix-generation-list-switch, guix-generation-list-execute): Likewise.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions