From e20f051ec45719631bdc5ea4fad9ab1787bb0c18 Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Thu, 4 Feb 2016 14:50:37 +0300 Subject: emacs: Add missing (require 'guix-profiles). Reported by Christopher Allan Webber on #guix. Several modules use the code from 'guix-profiles' without requiring it. It was never noticed before commits e4e2154644ecf76ea02a50304c1405c00c9ffdd1 and 13fe4891fa247d306e203ee14c6886513bd86b52, because 'guix-emacs' required this module. But now, when 'site-start.el' loads 'guix-emacs', 'guix-profiles' may not exist yet, so it may not be required. This will lead to an error when some of "M-x guix-..." commands will be used. See . * emacs/guix-base.el: Require 'guix-profiles'. * emacs/guix-ui.el: Likewise. * emacs/guix-ui-generation.el: Likewise. * emacs/guix-ui-package.el: Likewise. --- emacs/guix-ui-generation.el | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs/guix-ui-generation.el') diff --git a/emacs/guix-ui-generation.el b/emacs/guix-ui-generation.el index 74b8ff2579..67cf6294fb 100644 --- a/emacs/guix-ui-generation.el +++ b/emacs/guix-ui-generation.el @@ -35,6 +35,7 @@ (require 'guix-guile) (require 'guix-entry) (require 'guix-utils) +(require 'guix-profiles) (guix-ui-define-entry-type generation) -- cgit v1.2.3