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.master
parent
abda9e2d11
commit
3ffdd0026b
|
@ -187,8 +187,8 @@
|
||||||
(list (search-path-specification
|
(list (search-path-specification
|
||||||
(variable "EMACSLOADPATH")
|
(variable "EMACSLOADPATH")
|
||||||
;; The versioned entry is for the Emacs' builtin libraries.
|
;; The versioned entry is for the Emacs' builtin libraries.
|
||||||
(files (list (string-append "share/emacs/" version "/lisp")
|
(files (list "share/emacs/site-lisp"
|
||||||
"share/emacs/site-lisp")))
|
(string-append "share/emacs/" version "/lisp"))))
|
||||||
(search-path-specification
|
(search-path-specification
|
||||||
(variable "INFOPATH")
|
(variable "INFOPATH")
|
||||||
(files '("share/info")))))
|
(files '("share/info")))))
|
||||||
|
|
Reference in New Issue