aboutsummaryrefslogtreecommitdiff
path: root/.claude/rules/elisp.md
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-25 13:16:30 -0500
committerCraig Jennings <c@cjennings.net>2026-05-25 13:16:30 -0500
commite0f6b54f41384e8bfdc33810b370ca6eaca9298f (patch)
tree282f8c97194662c7d737ec495d38ee9f5a5a9fed /.claude/rules/elisp.md
parentbdbfaa5aec491c89087506508829e9b7a64917bc (diff)
downloaddotemacs-e0f6b54f41384e8bfdc33810b370ca6eaca9298f.tar.gz
dotemacs-e0f6b54f41384e8bfdc33810b370ca6eaca9298f.zip
chore: sync bundled claude rules and git hooks
Routine sync of the .claude/rules and git hooks distributed with the language bundle. Adds the cross-project, emacs, interaction, todo-format, triggers, and working-files rules; refreshes the elisp and elisp-testing rules, the elisp validation hook, and the pre-commit hook.
Diffstat (limited to '.claude/rules/elisp.md')
-rw-r--r--.claude/rules/elisp.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/.claude/rules/elisp.md b/.claude/rules/elisp.md
index e641058a..ea9bdc2d 100644
--- a/.claude/rules/elisp.md
+++ b/.claude/rules/elisp.md
@@ -72,4 +72,4 @@ Then `(require 'foo-config)` in `init.el` (or a config aggregator).
- A PostToolUse hook runs `check-parens` and `byte-compile-file` on every `.el` save
- If it blocks, read the error — don't retry blindly
-- Prefer Write over repeated Edits for nontrivial new code; incremental edits accumulate subtle paren mismatches
+- Edit cohesively, then verify parens/byte-compile right away. For nontrivial Elisp, land a function as one complete, coherent change rather than dribbling it in over many tiny partial edits — incremental fragments accumulate subtle paren mismatches. Run the paren-balance and byte-compile checks immediately after editing, whatever editing mechanism the environment uses.