This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
2014-08-27 12:44:17 +00:00
|
|
|
(require 'guix-autoloads)
|
2014-11-30 20:38:43 +00:00
|
|
|
(require 'guix-emacs)
|
2014-08-27 12:44:17 +00:00
|
|
|
|
|
|
|
(defvar guix-load-path
|
|
|
|
(replace-regexp-in-string "${prefix}" "@prefix@" "@emacsuidir@")
|
|
|
|
"Directory with scheme files for \"guix.el\" package.")
|
|
|
|
|
2014-11-30 20:38:43 +00: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)
|
|
|
|
|
|
|
|
(add-to-list 'load-path (guix-emacs-directory))
|
|
|
|
|
|
|
|
(when guix-package-enable-at-startup
|
|
|
|
(guix-emacs-load-autoloads 'all))
|
|
|
|
|
2014-08-27 12:44:17 +00:00
|
|
|
(provide 'guix-init)
|