gnu: emacs: Simplify the EMACSLOADPATH search path specification.
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Wed, 27 Nov 2019 04:40:20 +0000 (13:40 +0900)
committerClément Lassieur <clement@lassieur.org>
Wed, 4 Dec 2019 10:06:49 +0000 (11:06 +0100)
commit9aca5ceac81328d95474c928a0773662d332d16d
treef193942abe2f0cffdb07014590e00205b001eaac
parent65a7dd2950ca13a8b942b2836260a2192351b271
gnu: emacs: Simplify the EMACSLOADPATH search path specification.

The EMACSLOADPATH can be greatly simplified by relying on a subdirs.el file
that causes Emacs to search recursively a directory found in EMACSLOADPATH.

* gnu/packages/emacs.scm (emacs)[native-search-paths]: Remove the match-all
file pattern regexp.  Remove the versioned site-lisp directory from searched
files, as it appears unused by Emacs.

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