diff options
author | Alex Kost <alezost@gmail.com> | 2016-02-04 14:50:37 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2016-02-04 15:31:43 +0300 |
commit | e20f051ec45719631bdc5ea4fad9ab1787bb0c18 (patch) | |
tree | b21fe0f0e041d6e7940bb0e7a6f0461a81f94dbc /emacs/guix-ui-package.el | |
parent | 17c20385fb4f620fe79a37f134f2c6f7d4205c27 (diff) | |
download | patches-e20f051ec45719631bdc5ea4fad9ab1787bb0c18.tar patches-e20f051ec45719631bdc5ea4fad9ab1787bb0c18.tar.gz |
emacs: Add missing (require 'guix-profiles).
Reported by Christopher Allan Webber <cwebber@dustycloud.org> 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
<https://gnunet.org/bot/log/guix/2016-02-03#T898859>.
* emacs/guix-base.el: Require 'guix-profiles'.
* emacs/guix-ui.el: Likewise.
* emacs/guix-ui-generation.el: Likewise.
* emacs/guix-ui-package.el: Likewise.
Diffstat (limited to 'emacs/guix-ui-package.el')
-rw-r--r-- | emacs/guix-ui-package.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/guix-ui-package.el b/emacs/guix-ui-package.el index 414bc9b9d2..0971fdd438 100644 --- a/emacs/guix-ui-package.el +++ b/emacs/guix-ui-package.el @@ -37,6 +37,7 @@ (require 'guix-hydra-build) (require 'guix-read) (require 'guix-license) +(require 'guix-profiles) (guix-ui-define-entry-type package) (guix-ui-define-entry-type output) |