summaryrefslogtreecommitdiff
path: root/emacs/guix-base.el
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2016-02-04 14:50:37 +0300
committerAlex Kost <alezost@gmail.com>2016-02-04 15:31:43 +0300
commite20f051ec45719631bdc5ea4fad9ab1787bb0c18 (patch)
treeb21fe0f0e041d6e7940bb0e7a6f0461a81f94dbc /emacs/guix-base.el
parent17c20385fb4f620fe79a37f134f2c6f7d4205c27 (diff)
downloadpatches-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-base.el')
-rw-r--r--emacs/guix-base.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/guix-base.el b/emacs/guix-base.el
index d720a87833..9f9f258451 100644
--- a/emacs/guix-base.el
+++ b/emacs/guix-base.el
@@ -30,6 +30,7 @@
(require 'guix-read)
(require 'guix-utils)
(require 'guix-ui)
+(require 'guix-profiles)
(defgroup guix nil
"Settings for Guix package manager and friends."