diff options
Diffstat (limited to 'working/hook-fail-open/validate-el.diff')
| -rw-r--r-- | working/hook-fail-open/validate-el.diff | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/working/hook-fail-open/validate-el.diff b/working/hook-fail-open/validate-el.diff new file mode 100644 index 0000000..ab0fc15 --- /dev/null +++ b/working/hook-fail-open/validate-el.diff @@ -0,0 +1,20 @@ +--- languages/elisp/claude/hooks/validate-el.sh 2026-07-13 23:37:55.474616165 -0500 ++++ working/hook-fail-open/validate-el.sh 2026-07-24 10:58:47.774106870 -0500 +@@ -39,8 +39,6 @@ + [ -z "$f" ] && exit 0 + [ "${f##*.}" = "el" ] || exit 0 + +-MAX_AUTO_TEST_FILES=20 # skip if more matches than this (large test suites) +- + # --- Phase 1: syntax + byte-compile --- + case "$f" in + */init.el|*/early-init.el) +@@ -96,7 +94,7 @@ + esac + + count="${#tests[@]}" +-if [ "$count" -ge 1 ] && [ "$count" -le "$MAX_AUTO_TEST_FILES" ]; then ++if [ "$count" -ge 1 ]; then + load_args=() + for t in "${tests[@]}"; do load_args+=("-l" "$t"); done + if ! output="$(emacs --batch --no-site-file --no-site-lisp \ |
