aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2019-12-07 13:14:44 +0900
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2019-12-07 13:20:50 +0900
commit3ffdd0026b045df320928e7f8736ea0c151e522b (patch)
treea10c805bfc0618a686d7a52a47d3198f70210cb9 /gnu/packages
parentabda9e2d11217cfe7afde8dcc5ebfc988eaa9406 (diff)
downloadpatches-3ffdd0026b045df320928e7f8736ea0c151e522b.tar
patches-3ffdd0026b045df320928e7f8736ea0c151e522b.tar.gz
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 95859b8a88..ca5a7b940b 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -187,8 +187,8 @@
(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")))))