18 lines
493 B
EmacsLisp
18 lines
493 B
EmacsLisp
(require 'guix-autoloads)
|
|
|
|
(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)
|
|
|
|
(when guix-package-enable-at-startup
|
|
(require 'guix-emacs)
|
|
(guix-emacs-load-autoloads 'all))
|
|
|
|
(add-hook 'scheme-mode-hook 'guix-devel-activate-mode-maybe)
|
|
|
|
(provide 'guix-init)
|