aboutsummaryrefslogtreecommitdiff
path: root/languages/elisp/claude/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'languages/elisp/claude/hooks')
-rwxr-xr-xlanguages/elisp/claude/hooks/validate-el.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/languages/elisp/claude/hooks/validate-el.sh b/languages/elisp/claude/hooks/validate-el.sh
index d028789..870eefe 100755
--- a/languages/elisp/claude/hooks/validate-el.sh
+++ b/languages/elisp/claude/hooks/validate-el.sh
@@ -39,8 +39,6 @@ f="$(jq -r '.tool_input.file_path // .tool_response.filePath // empty')"
[ -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 @@ case "$f" in
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 \