[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: |
Fri, 01 Jan 2016 19:28:56 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Ludovic Courtès (2016-01-01 18:22 +0300) wrote:
>> then we should definitely add code in a similar way to instruct emacs
>> to look in the right places (".../guix.d") for our emacs packages out
>> of the box. As Dmitry rightfully points out, having emacs packages
>> which do not work out of the box is just a bug.
>
> Yeah. Alex, any idea how to add the guix.d subdirectories to the search
> path without duplicating all of guix.el in the ‘emacs’ package?
Yeah, no need to duplicate all of the guix elisp files. Only
"guix-emacs.el" (and its dependencies: "guix-profiles.el" and
"guix-config.el") is needed. And instead of (require 'guix-init) the
following code should be used to "activate" our .guix.d directories:
(when (require 'guix-emacs nil t)
(guix-emacs-load-autoloads))
--
Alex
- Re: Emacs load path, Federico Beffa, 2016/01/01
- Re: Emacs load path, Ludovic Courtès, 2016/01/01
- Re: Emacs load path,
Alex Kost <=
- Re: Emacs load path, Federico Beffa, 2016/01/01
- Re: Emacs load path, Alex Kost, 2016/01/02
- Re: Emacs load path, Federico Beffa, 2016/01/04
- Re: Emacs load path, Alex Kost, 2016/01/05
- Re: Emacs load path, Federico Beffa, 2016/01/05
- Re: Emacs load path, Alex Kost, 2016/01/06
Re: Emacs load path, Alex Kost, 2016/01/01