aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-init.el
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2016-01-06 17:58:05 +0300
committerAlex Kost <alezost@gmail.com>2016-01-13 17:56:14 +0300
commit6d268e528100b7b4376390c2d3f93756dc97166e (patch)
tree1f3ab8d1e80b1782301568b6f482d4d1ead73fbf /emacs/guix-init.el
parente4e2154644ecf76ea02a50304c1405c00c9ffdd1 (diff)
downloadgnu-guix-6d268e528100b7b4376390c2d3f93756dc97166e.tar
gnu-guix-6d268e528100b7b4376390c2d3f93756dc97166e.tar.gz
emacs: Move loading packages to "guix-emacs.el".
* emacs/guix-init.el: Move the code for auto-loading Emacs packages to... (guix-package-enable-at-startup): Move to... * emacs/guix-emacs.el (guix-package-enable-at-startup): ... here.
Diffstat (limited to 'emacs/guix-init.el')
-rw-r--r--emacs/guix-init.el13
1 files changed, 0 insertions, 13 deletions
diff --git a/emacs/guix-init.el b/emacs/guix-init.el
index 1da607034f..47ced6abaa 100644
--- a/emacs/guix-init.el
+++ b/emacs/guix-init.el
@@ -1,19 +1,6 @@
(require 'guix-autoloads)
(require 'guix-emacs)
-(defcustom guix-package-enable-at-startup t
- "If non-nil, activate Emacs packages installed in a user profile.
-Set this variable to nil before requiring `guix-init' file to
-avoid loading autoloads of Emacs packages installed in
-`guix-user-profile'."
- :type 'boolean
- :group 'guix)
-
-(add-to-list 'load-path (guix-emacs-directory))
-
-(when guix-package-enable-at-startup
- (guix-emacs-load-autoloads))
-
(add-hook 'scheme-mode-hook 'guix-devel-activate-mode-maybe)
(add-hook 'shell-mode-hook 'guix-build-log-minor-mode-activate-maybe)