diff options
author | Lin Jian <me@linj.tech> | 2023-08-25 10:50:05 +0800 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-08-25 17:42:21 +0000 |
commit | 3e025f13938264d3e9ba1ae443485100a674985a (patch) | |
tree | b082a06489f66574d39a35e4ba07675dce7c9f51 | |
parent | 7f8cd3d8f98524e5609788e4fdda16c3a2ea0bc7 (diff) |
emacsWithPackages: add a note for EMACSNATIVELOADPATH
-rw-r--r-- | pkgs/build-support/emacs/wrapper.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/build-support/emacs/wrapper.sh b/pkgs/build-support/emacs/wrapper.sh index c18960c06fc3c..44762bd4582b0 100644 --- a/pkgs/build-support/emacs/wrapper.sh +++ b/pkgs/build-support/emacs/wrapper.sh @@ -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 |