emacsWithPackages: add a note for EMACSNATIVELOADPATH

This commit is contained in:
Lin Jian 2023-08-25 10:50:05 +08:00 committed by Anderson Torres
parent 7f8cd3d8f9
commit 3e025f1393

View File

@ -23,6 +23,11 @@ else
newLoadPath+=("")
fi
# NOTE: Even though we treat EMACSNATIVELOADPATH like EMACSLOADPATH in
# this wrapper, empty elements in EMACSNATIVELOADPATH have no special
# meaning for Emacs. Only non-empty elements in EMACSNATIVELOADPATH
# will be prepended to native-comp-eln-load-path.
# https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/startup.el?id=3685387e609753293c4518be75e77c659c3b2d8d#n599
if [[ -n $EMACSNATIVELOADPATH ]]
then
while read -rd: entry