gnu: emacs: Use load-path instead of EMACSLOADPATH.
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Wed, 27 Nov 2019 05:02:42 +0000 (14:02 +0900)
committerClément Lassieur <clement@lassieur.org>
Wed, 4 Dec 2019 10:06:49 +0000 (11:06 +0100)
commit903765f0d9fee0412e63d960f20b741c5afbcea7
treeb29aab59f06325a3191e834e8e2509f037c90521
parentc320acd633907397bfd3246ba6446d45d2e55ba2
gnu: emacs: Use load-path instead of EMACSLOADPATH.

This enables the use of the subdirs.el feature of Emacs, where specifying a
directory in EMACSLOADPATH translates into a `load-path' variable containing
the directory and all its sub-directories.

* gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs-autoload-packages):
Use `load-path' directly instead of parsing EMACSLOADPATH.

Reported-by: Leo Prikler <leo.prikler@student.tugraz.at>
Signed-off-by: Clément Lassieur <clement@lassieur.org>
gnu/packages/aux-files/emacs/guix-emacs.el