aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-ui-generation.el
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2016-01-07 22:40:53 +0300
committerAlex Kost <alezost@gmail.com>2016-01-16 13:02:21 +0300
commit56728668485dfcba457e64748ab709eacf39b6ce (patch)
tree0f6a6efc251c02eb840b98d69cc71ab45de21a3f /emacs/guix-ui-generation.el
parent54c3c284d7f319d6db7c665c612fdbeefe81ae5f (diff)
downloadpatches-56728668485dfcba457e64748ab709eacf39b6ce.tar
patches-56728668485dfcba457e64748ab709eacf39b6ce.tar.gz
emacs: Remove 'generation' search type.
Use 'installed' search type instead. * emacs/guix-main.scm (%patterns-makers): Remove 'generation'. (package/output-sexps): Adjust accordingly. * emacs/guix-ui-generation.el (guix-generation-info-insert-number): Replace 'generation' search with 'installed'. (guix-generation-list-show-packages): Likewise. * emacs/guix-messages.el (guix-messages): Remove 'generation'.
Diffstat (limited to 'emacs/guix-ui-generation.el')
-rw-r--r--emacs/guix-ui-generation.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/emacs/guix-ui-generation.el b/emacs/guix-ui-generation.el
index 752d8523b9..4047850f23 100644
--- a/emacs/guix-ui-generation.el
+++ b/emacs/guix-ui-generation.el
@@ -127,8 +127,9 @@ current profile's GENERATION."
(lambda (btn)
(guix-buffer-get-display-entries
'list guix-package-list-type
- (list (guix-ui-current-profile)
- 'generation (button-get btn 'number))
+ (list (guix-generation-current-packages-profile
+ (button-get btn 'number))
+ 'installed)
'add))
"Show installed packages for this generation"
'number number)
@@ -202,8 +203,8 @@ VAL is a boolean value."
"List installed packages for the generation at point."
(interactive)
(guix-package-get-display
- (guix-ui-current-profile)
- 'generation (guix-list-current-id)))
+ (guix-generation-current-packages-profile (guix-list-current-id))
+ 'installed))
(defun guix-generation-list-generations-to-compare ()
"Return a sorted list of 2 marked generations for comparing."