guix/emacs/guix-init.el
Mathieu Lirzin 9a479bc383 emacs: Use only one guix-load-path variable.
emacs/guix-init.el (guix-load-path): Move to ...
emacs/guix-backend.el (guix-load-path): ... Here. Redefine it.
2015-08-30 22:46:21 +02:00

16 lines
431 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))
(provide 'guix-init)