Ludovic Courtès <[email protected]> writes: > Ricardo Wurmus <[email protected]> skribis: > >> Alex Kost <[email protected]> writes: >> >>> Ricardo found a problem while working on some emacs package that >>> requires EMMS: the elisp file(s) of this package is(are) not compiled. >>> >>> This happens because currently emacs-build-system adds only >>> "share/emacs/site-lisp/guix.d/<package>" to emacs load-path when it >>> compiles elisp files, but some emacs packages (for example, emms) put >>> their files in "share/emacs/site-lisp", so this directory should also be >>> added. The attached patch will do it. >> >> Thank you for the patch! This looks like the right thing to do. > > +1 > >> Should we also (in a later patch) add a way to override or append to the >> list of directories, e.g. via the “arguments“ field? > > FWIW I’m not convinced this is necessary, but we can always see later.
You are probably right. I thought that packages like Lilypond install their Elisp files elsewhere, but it’s actually “share/emacs/site-lisp” as expected. ~~ Ricardo
