diff options
author | Alex Kost <alezost@gmail.com> | 2014-09-17 17:52:08 +0400 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2014-09-24 16:09:20 +0400 |
commit | dfeb023927799b45616b435d27001b0fbd533c2b (patch) | |
tree | b61ca30271705b6555b054126431c6fbb4725a40 /emacs/guix-main.scm | |
parent | 8689901f95499e98e0209e75b4f268bf2af325c1 (diff) | |
download | gnu-guix-dfeb023927799b45616b435d27001b0fbd533c2b.tar gnu-guix-dfeb023927799b45616b435d27001b0fbd533c2b.tar.gz |
emacs: Use general functions instead of generated ones.
* emacs/guix-base.el: Add and use general functions instead of
specialized functions generated by 'guix-define-buffer-type' macro.
(guix-buffer-type, guix-entry-type): New variables.
(guix-set-vars): Add new variables.
(guix-get-show-entries, guix-show-entries, guix-set-buffer)
(guix-history-call, guix-make-history-item)
(guix-get-params-for-receiving, guix-revert-buffer)
(guix-redisplay-buffer): New functions.
(guix-define-buffer-type): Do not generate specialized functions.
* emacs/guix-info.el (guix-package-info-insert-full-names): Use
'guix-get-show-entries'.
(guix-generation-info-insert-number): Likewise.
* emacs/guix-list.el (guix-list-describe): New function.
(guix-list-define-entry-type): Do not generate specialized one.
(guix-generation-list-show-packages): Use 'guix-get-show-entries'.
* emacs/guix.el (guix-show-generations-function): Remove.
(guix-get-show-packages): Use new functions.
(guix-get-show-generations): Likewise.
Diffstat (limited to 'emacs/guix-main.scm')
0 files changed, 0 insertions, 0 deletions