8 addedNewNativeLoadPath
=
10 if [[ -n $EMACSLOADPATH ]]
14 if [[ -z $entry && -z $addedNewLoadPath ]]
16 newLoadPath
+=(@wrapperSiteLisp@
)
19 newLoadPath
+=("$entry")
20 done <<< "$EMACSLOADPATH:"
22 newLoadPath
+=(@wrapperSiteLisp@
)
26 # NOTE: Even though we treat EMACSNATIVELOADPATH like EMACSLOADPATH in
27 # this wrapper, empty elements in EMACSNATIVELOADPATH have no special
28 # meaning for Emacs. Only non-empty elements in EMACSNATIVELOADPATH
29 # will be prepended to native-comp-eln-load-path.
30 # https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/startup.el?id=3685387e609753293c4518be75e77c659c3b2d8d#n599
31 if [[ -n $EMACSNATIVELOADPATH ]]
35 if [[ -z $entry && -z $addedNewNativeLoadPath ]]
37 newNativeLoadPath
+=(@wrapperSiteLispNative@
)
38 addedNewNativeLoadPath
=1
40 newNativeLoadPath
+=("$entry")
41 done <<< "$EMACSNATIVELOADPATH:"
43 newNativeLoadPath
+=(@wrapperSiteLispNative@
)
44 newNativeLoadPath
+=("")
47 export EMACSLOADPATH
="${newLoadPath[*]}"
48 export emacsWithPackages_siteLisp
=@wrapperSiteLisp@
50 export EMACSNATIVELOADPATH
="${newNativeLoadPath[*]}"
51 export emacsWithPackages_siteLispNative
=@wrapperSiteLispNative@