Merge branch 'master' into core-updates
[jackhill/guix/guix.git] / emacs / guix-init.el.in
1 (require 'guix-autoloads)
2
3 (defvar guix-load-path
4 (replace-regexp-in-string "${prefix}" "@prefix@" "@emacsuidir@")
5 "Directory with scheme files for \"guix.el\" package.")
6
7 (defcustom guix-package-enable-at-startup t
8 "If non-nil, activate Emacs packages installed in a user profile.
9 Set this variable to nil before requiring `guix-init' file to
10 avoid loading autoloads of Emacs packages installed in
11 `guix-user-profile'."
12 :type 'boolean
13 :group 'guix)
14
15 (when guix-package-enable-at-startup
16 (require 'guix-emacs)
17 (guix-emacs-load-autoloads 'all))
18
19 (provide 'guix-init)