Set doom--initial-load-path in sandbox
Prevents loaded packages miscount (e.g. -1) in dashboard/log in sandbox instance. This occurs because the benchmark line uses a simple heuristic to determine the loaded packages: length of load-path minus the length of doom--initial-load-path (to save on more expensive counting methods). However, in the sandbox, load-path is pre-populated with all packages right from the get-go, so doom--initial-load-path will be incorrect.
This commit is contained in:
parent
9e1ac0c0be
commit
fe37a590cc
1 changed files with 1 additions and 0 deletions
|
@ -317,6 +317,7 @@ Some items are not supported by the `nsm.el' module."
|
||||||
process-environment ',doom--initial-process-environment
|
process-environment ',doom--initial-process-environment
|
||||||
exec-path ',doom--initial-exec-path
|
exec-path ',doom--initial-exec-path
|
||||||
init-file-debug t
|
init-file-debug t
|
||||||
|
doom--initial-load-path load-path
|
||||||
load-path ',load-path
|
load-path ',load-path
|
||||||
package--init-file-ensured t
|
package--init-file-ensured t
|
||||||
package-user-dir ,package-user-dir
|
package-user-dir ,package-user-dir
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue