mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 19:59:38 +00:00
If :load-path is absolute, don't expand it
This commit is contained in:
parent
0bde0b4c02
commit
f6d65ce876
1 changed files with 3 additions and 1 deletions
|
@ -323,7 +323,9 @@
|
||||||
,@(mapcar
|
,@(mapcar
|
||||||
#'(lambda (path)
|
#'(lambda (path)
|
||||||
`(add-to-list 'load-path
|
`(add-to-list 'load-path
|
||||||
,(expand-file-name path user-emacs-directory)))
|
,(if (file-name-absolute-p path)
|
||||||
|
path
|
||||||
|
(expand-file-name path user-emacs-directory))))
|
||||||
(if (stringp pkg-load-path)
|
(if (stringp pkg-load-path)
|
||||||
(list pkg-load-path)
|
(list pkg-load-path)
|
||||||
pkg-load-path))
|
pkg-load-path))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue