aboutsummaryrefslogtreecommitdiff
path: root/scripts/sync-language-bundle.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-13 13:08:25 -0500
committerCraig Jennings <c@cjennings.net>2026-06-13 13:08:25 -0500
commit9e4c58029785c418ad6dbdbff3988a8582388c34 (patch)
tree66c40eb120ce1bca55f02fa7c8be771706d8029a /scripts/sync-language-bundle.sh
parentd22e74762125b2b308e9259b6f606ae7eaa2ba21 (diff)
downloadrulesets-9e4c58029785c418ad6dbdbff3988a8582388c34.tar.gz
rulesets-9e4c58029785c418ad6dbdbff3988a8582388c34.zip
fix(elisp): byte-compile cross-project .el edits against their own modules
The validate-el hook only put the current project's roots on the load path, so editing an .el file from another project failed Phase 1 byte-compile on free-variable warnings: the file's own sibling modules weren't reachable. I added the edited file's directory and its parent to the load path. For in-project edits both are redundant (already covered by PROJECT_ROOT and its modules dir). They only do work when the file sits outside the current project root. I left Phase 2's test runner alone. It discovers tests by stem under PROJECT_ROOT/tests, so a cross-project file's tests aren't found regardless of load path.
Diffstat (limited to 'scripts/sync-language-bundle.sh')
0 files changed, 0 insertions, 0 deletions