Federico Beffa (2015-12-31 12:27 +0300) wrote: > On Thu, Dec 31, 2015 at 10:02 AM, Alex Kost <alez...@gmail.com> wrote: >>> I would mimic the emacs package system: The packages are loaded after >>> loading the init file. To disable automatic package loading, you can >>> change the variable ‘package-enable-at-startup’ to ‘nil’. >> >> This is already mimic-ed: there is ‘guix-package-enable-at-startup’ >> variable for the same purpose. But on GuixSD, (require 'guix-init) is >> performed before user config is loaded, so as I said, you need to use >> "export EMACSLOADPATH=" to prevent this additional stuff from loading. > > Instead of a (require 'guix-init) before loading the init file you > could just load a tiny amount of code whose purpose is only to decide > if 'guix-init' should be loaded after processing the init file.
Sorry, I think I lost the thread of what we are talking about. Is it a suggestion for "/etc/emacs/site-start.el" that is generated in GuixSD? -- Alex