[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: gnu: emacs: Simplify the EMACSLOADPATH search path specification.
From: |
guix-commits |
Subject: |
02/06: gnu: emacs: Simplify the EMACSLOADPATH search path specification. |
Date: |
Wed, 4 Dec 2019 05:07:50 -0500 (EST) |
snape pushed a commit to branch master
in repository guix.
commit 9aca5ceac81328d95474c928a0773662d332d16d
Author: Maxim Cournoyer <address@hidden>
Date: Wed Nov 27 13:40:20 2019 +0900
gnu: emacs: Simplify the EMACSLOADPATH search path specification.
The EMACSLOADPATH can be greatly simplified by relying on a subdirs.el file
that causes Emacs to search recursively a directory found in EMACSLOADPATH.
* gnu/packages/emacs.scm (emacs)[native-search-paths]: Remove the match-all
file pattern regexp. Remove the versioned site-lisp directory from searched
files, as it appears unused by Emacs.
Reported-by: Leo Prikler <address@hidden>
Signed-off-by: Clément Lassieur <address@hidden>
---
gnu/packages/emacs.scm | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 16f9af0..95859b8 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -186,11 +186,9 @@
(native-search-paths
(list (search-path-specification
(variable "EMACSLOADPATH")
- ;; The versioned entries are for the Emacs' builtin libraries.
- (files (list (string-append "share/emacs/" version "/site-lisp")
- (string-append "share/emacs/" version "/lisp")
- "share/emacs/site-lisp"))
- (file-pattern ".*")) ;recursively add any sub directory
+ ;; The versioned entry is for the Emacs' builtin libraries.
+ (files (list (string-append "share/emacs/" version "/lisp")
+ "share/emacs/site-lisp")))
(search-path-specification
(variable "INFOPATH")
(files '("share/info")))))
- branch master updated (fabd490 -> 4c503ed), guix-commits, 2019/12/04
- 03/06: gnu: emacs: Fix guix-emacs.el indentation., guix-commits, 2019/12/04
- 05/06: gnu: emacs-ert-runner: Fix build., guix-commits, 2019/12/04
- 04/06: gnu: emacs: Use load-path instead of EMACSLOADPATH., guix-commits, 2019/12/04
- 06/06: gnu: emacs-emacsql: Fix build., guix-commits, 2019/12/04
- 01/06: build: emacs-build-system: Unify the installation directory., guix-commits, 2019/12/04
- 02/06: gnu: emacs: Simplify the EMACSLOADPATH search path specification.,
guix-commits <=