[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Default value of native-comp-eln-load-path
From: |
Lele Gaifax |
Subject: |
Default value of native-comp-eln-load-path |
Date: |
Thu, 13 Jan 2022 08:52:21 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Hi all,
on a self-compiled one-week old GNU/Emacs (commit 808f69bf), I see
the following:
$ cd $HOME; emacs --batch --execute "(print native-comp-eln-load-path)"
("/home/lele/.emacs.d/eln-cache/" "/home/native-lisp/")
$ cd /tmp; emacs --batch --execute "(print native-comp-eln-load-path)"
("/home/lele/.emacs.d/eln-cache/" "/native-lisp/")
Indeed, that variable is defined in src/comp.c as
/* Temporary value in use for bootstrap. We can't do better as
`invocation-directory' is still unset, will be fixed up during
dump reload. */
Vnative_comp_eln_load_path = Fcons (build_string ("../native-lisp/"), Qnil);
What is the purpose of that relative "native-lisp" entry?
I guess nobody has a roommate with that name, that could play dirty tricks
putting casual .eln files in his home dir, but who knows? :-)
Thanks and bye, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it | -- Fortunato Depero, 1929.
- Default value of native-comp-eln-load-path,
Lele Gaifax <=