[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#43627] [PATCH core-updates 2/3] gnu: emacs: Use the new append-sepa
From: |
Maxim Cournoyer |
Subject: |
[bug#43627] [PATCH core-updates 2/3] gnu: emacs: Use the new append-separator? option to define its search path. |
Date: |
Sat, 26 Sep 2020 02:14:13 -0400 |
Fixes <https://issues.guix.info/43277>.
* gnu/packages/emacs.scm (emacs): Remove the versioned lisp file name from the
search path, and set the append-separator? field to #t.
---
gnu/packages/emacs.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 03c28ee7a7..d673bc741d 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -257,9 +257,8 @@
(native-search-paths
(list (search-path-specification
(variable "EMACSLOADPATH")
- ;; The versioned entry is for the Emacs' builtin libraries.
- (files (list "share/emacs/site-lisp"
- (string-append "share/emacs/" version "/lisp"))))
+ (files (list "share/emacs/site-lisp"))
+ (append-separator? #t))
(search-path-specification
(variable "INFOPATH")
(files '("share/info")))))
--
2.28.0