mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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>
This commit is contained in:
parent
65a7dd2950
commit
9aca5ceac8
1 changed files with 3 additions and 5 deletions
|
@ -186,11 +186,9 @@ (define-public emacs
|
|||
(native-search-paths
|
||||
(list (search-path-specification
|
||||
(variable "EMACSLOADPATH")
|
||||
;; The versioned entries are for the Emacs' builtin libraries.
|
||||
(files (list (string-append "share/emacs/" version "/site-lisp")
|
||||
(string-append "share/emacs/" version "/lisp")
|
||||
"share/emacs/site-lisp"))
|
||||
(file-pattern ".*")) ;recursively add any sub directory
|
||||
;; The versioned entry is for the Emacs' builtin libraries.
|
||||
(files (list (string-append "share/emacs/" version "/lisp")
|
||||
"share/emacs/site-lisp")))
|
||||
(search-path-specification
|
||||
(variable "INFOPATH")
|
||||
(files '("share/info")))))
|
||||
|
|
Loading…
Reference in a new issue