diff options
Diffstat (limited to 'emacs/guix-init.el')
-rw-r--r-- | emacs/guix-init.el | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/emacs/guix-init.el b/emacs/guix-init.el new file mode 100644 index 0000000000..6ea6fcd0b0 --- /dev/null +++ b/emacs/guix-init.el @@ -0,0 +1,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) |