mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: emacs: Locate Elisp libraries via EMACSLOADPATH.
* gnu/packages/emacs.scm (emacs): Add a search path specification for EMACSLOADPATH.
This commit is contained in:
parent
67ed544212
commit
215a45d9b8
1 changed files with 8 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
;;; Copyright © 2016 David Thompson <dthompson2@worcester.edu>
|
;;; Copyright © 2016 David Thompson <dthompson2@worcester.edu>
|
||||||
;;; Copyright © 2016 ng0 <ng0@n0.is>
|
;;; Copyright © 2016 ng0 <ng0@n0.is>
|
||||||
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
||||||
;;; Copyright © 2017 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2017, 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
|
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
|
||||||
;;; Copyright © 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
|
;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
|
||||||
|
@ -185,6 +185,13 @@ (define-public emacs
|
||||||
|
|
||||||
(native-search-paths
|
(native-search-paths
|
||||||
(list (search-path-specification
|
(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
|
||||||
|
(search-path-specification
|
||||||
(variable "INFOPATH")
|
(variable "INFOPATH")
|
||||||
(files '("share/info")))))
|
(files '("share/info")))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue