~ruther/guix-local

ref: 1cb16f1ea3a182339b4d4cbf28107a2cba29ac55 guix-local/emacs/guix-init.el -rw-r--r-- 540 bytes
1cb16f1e — 宋文武 gnu: gtk+: Remove colord from inputs. 10 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(require 'guix-autoloads)
(require 'guix-emacs)

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

(add-hook 'scheme-mode-hook 'guix-devel-activate-mode-maybe)

(provide 'guix-init)