mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: emacs: Reorder EMACSLOADPATH search path specification.
Move Guix profiles' site-lisp before Emacs' own in the search path specification, so that user installed packages can override Emacs' builtin versions. Fixes issue #38399 (see: https://bugs.gnu.org/38399). Reported-by: Diego Nicola Barbato <dnbarbato@posteo.de> * gnu/packages/emacs.scm (emacs): Move the Emacs builtin library directory suffix to the end of the search path.
This commit is contained in:
parent
abda9e2d11
commit
3ffdd0026b
1 changed files with 2 additions and 2 deletions
|
@ -187,8 +187,8 @@ (define-public emacs
|
|||
(list (search-path-specification
|
||||
(variable "EMACSLOADPATH")
|
||||
;; The versioned entry is for the Emacs' builtin libraries.
|
||||
(files (list (string-append "share/emacs/" version "/lisp")
|
||||
"share/emacs/site-lisp")))
|
||||
(files (list "share/emacs/site-lisp"
|
||||
(string-append "share/emacs/" version "/lisp"))))
|
||||
(search-path-specification
|
||||
(variable "INFOPATH")
|
||||
(files '("share/info")))))
|
||||
|
|
Loading…
Reference in a new issue