guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs load path


From: Alex Kost
Subject: Re: Emacs load path
Date: Thu, 31 Dec 2015 23:45:49 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Federico Beffa (2015-12-31 12:27 +0300) wrote:

> On Thu, Dec 31, 2015 at 10:02 AM, Alex Kost <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]