[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: emacs: Use load-path instead of EMACSLOADPATH.
From: |
guix-commits |
Subject: |
04/06: gnu: emacs: Use load-path instead of EMACSLOADPATH. |
Date: |
Wed, 4 Dec 2019 05:07:51 -0500 (EST) |
snape pushed a commit to branch master
in repository guix.
commit 903765f0d9fee0412e63d960f20b741c5afbcea7
Author: Maxim Cournoyer <address@hidden>
Date: Wed Nov 27 14:02:42 2019 +0900
gnu: emacs: Use load-path instead of EMACSLOADPATH.
This enables the use of the subdirs.el feature of Emacs, where specifying a
directory in EMACSLOADPATH translates into a `load-path' variable containing
the directory and all its sub-directories.
* gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs-autoload-packages):
Use `load-path' directly instead of parsing EMACSLOADPATH.
Reported-by: Leo Prikler <address@hidden>
Signed-off-by: Clément Lassieur <address@hidden>
---
gnu/packages/aux-files/emacs/guix-emacs.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el
b/gnu/packages/aux-files/emacs/guix-emacs.el
index b4315c1..05fc970 100644
--- a/gnu/packages/aux-files/emacs/guix-emacs.el
+++ b/gnu/packages/aux-files/emacs/guix-emacs.el
@@ -47,13 +47,12 @@ The files in the list do not have extensions (.el, .elc)."
;; FIXME: The autoloads generated by the emacs-build-system are not byte
;; compiled.
(interactive)
- (let* ((emacs-load-path (getenv "EMACSLOADPATH"))
- (emacs-non-core-load-path-directories
+ (let* ((emacs-non-core-load-path-directories
;; Filter out core Elisp directories, which are already autoloaded
;; by Emacs.
(seq-filter (lambda (dir)
(string-match-p "/share/emacs/site-lisp" dir))
- (split-string emacs-load-path ":")))
+ load-path))
(autoloads (mapcan #'guix-emacs-find-autoloads
emacs-non-core-load-path-directories)))
(mapc (lambda (f)
- 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 <=
- 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, 2019/12/04