build-env.el 473 B

12345678910111213
  1. ;; Set up Emacs to build *.el files.
  2. (setq load-prefer-newer t)
  3. ;; When we are inside "guix environment", autoload Emacs packages from
  4. ;; the environment profile. This makes elisp dependencies be found
  5. ;; during compilation, so it is not necessary to specify
  6. ;; '--with-XXX-lispdir' options to "configure" script.
  7. (let ((guix-env (getenv "GUIX_ENVIRONMENT")))
  8. (when (and guix-env
  9. (require 'guix-emacs nil t))
  10. (guix-emacs-autoload-packages guix-env)))