summary refs log tree commit diff
path: root/emacs/guix-init.el
blob: 6ea6fcd0b03ee88757d076497c45bb6d0e3b1d45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(require 'guix-config)
(require 'guix-autoloads)

(defvar guix-load-path guix-emacs-interface-directory
  "Directory with scheme files for \"guix.el\" package.")

(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)