* emacs/guix-buffer.el (guix-buffer-set): Set 'guix-buffer-item' early, so that it can be used during displaying entries. For example, this allows to use a value of the current guix profile when package entries are inserted in a "List" or "Info" buffer. --- emacs/guix-buffer.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/emacs/guix-buffer.el b/emacs/guix-buffer.el index af76e63..873540b 100644 --- a/emacs/guix-buffer.el +++ b/emacs/guix-buffer.el @@ -241,8 +241,8 @@ HISTORY should be one of the following: `replace' - replace the current history item." (guix-buffer-with-item buffer-item (when %entries - (guix-buffer-show-entries %entries %buffer-type %entry-type) (setq guix-buffer-item buffer-item) + (guix-buffer-show-entries %entries %buffer-type %entry-type) (when history (funcall (cl-ecase history (add #'guix-history-add) -- 2.6.3