guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: emacs: Reorder EMACSLOADPATH search path specification.


From: guix-commits
Subject: 01/01: gnu: emacs: Reorder EMACSLOADPATH search path specification.
Date: Fri, 6 Dec 2019 23:31:35 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit 3ffdd0026b045df320928e7f8736ea0c151e522b
Author: Maxim Cournoyer <address@hidden>
Date:   Sat Dec 7 13:14:44 2019 +0900

    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 <address@hidden>
    
    * gnu/packages/emacs.scm (emacs): Move the Emacs builtin library directory
    suffix to the end of the search path.
---
 gnu/packages/emacs.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 95859b8..ca5a7b9 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")))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]