[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs load path
From: |
Federico Beffa |
Subject: |
Re: Emacs load path |
Date: |
Wed, 30 Dec 2015 23:18:30 +0100 |
On Wed, Dec 30, 2015 at 7:55 PM, Alex Kost <address@hidden> wrote:
>> A useful approach would be to fix the problem such that if a user
>> installs emacs with guix the above steps happen automatically without
>> any user intervention.
>
> Yeah, it would probably be a good default, but only if this default can
> be changed. I mean if I didn't install emacs packages with guix, I would
> like to avoid loading an additional code for that. In GuixSD I can do
> it with "export EMACSLOADPATH=", so if our Emacs package will somehow
> "automagically" look at "~/.guix-profile/share/emacs/site-lisp/guix.d/…"
> directories, I want to have a way to disable this feature.
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’.
Regards,
Fede
Re: Emacs load path, Ludovic Courtès, 2015/12/30