2014-08-27 08:44:17 -04:00
|
|
|
(require 'guix-autoloads)
|
2015-10-15 16:41:27 -04:00
|
|
|
(require 'guix-emacs)
|
2014-08-27 08:44:17 -04:00
|
|
|
|
2014-11-30 15:38:43 -05:00
|
|
|
(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)
|
|
|
|
|
2015-10-15 16:41:27 -04:00
|
|
|
(add-to-list 'load-path (guix-emacs-directory))
|
|
|
|
|
2014-11-30 15:38:43 -05:00
|
|
|
(when guix-package-enable-at-startup
|
|
|
|
(guix-emacs-load-autoloads 'all))
|
|
|
|
|
2015-07-24 11:33:14 -04:00
|
|
|
(add-hook 'scheme-mode-hook 'guix-devel-activate-mode-maybe)
|
|
|
|
|
2014-08-27 08:44:17 -04:00
|
|
|
(provide 'guix-init)
|