diff options
Diffstat (limited to 'gnu/packages/aux-files')
-rw-r--r-- | gnu/packages/aux-files/emacs/guix-emacs.el | 5 |
1 files 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 b4315c1a2e..05fc9709b6 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) |