diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-23 03:46:39 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-23 03:46:39 -0500 |
| commit | e646ebcde5e27985246a869ff4df5db2a12af089 (patch) | |
| tree | 4228136eba28bf12ddbf32a4b052bd5c7526dea3 /calendar-sync.local.el.example | |
| parent | 0a585a33cb64e8e9302f69d4eab3c75ef2f63b96 (diff) | |
| download | dotemacs-e646ebcde5e27985246a869ff4df5db2a12af089.tar.gz dotemacs-e646ebcde5e27985246a869ff4df5db2a12af089.zip | |
test(flyspell-abbrev): cover checker gate, overlay search, mode dispatch
flyspell-and-abbrev.el had no tests. I added eight: cj/--require-spell-checker (errors when no checker is on PATH, passes when one is), cj/find-previous-flyspell-overlay against synthetic overlays (finds the closest previous flyspell overlay, ignores non-flyspell ones, returns nil when none exist), and cj/flyspell-on-for-buffer-type dispatching to flyspell-prog-mode in code buffers and flyspell-mode in text buffers.
I left cj/flyspell-then-abbrev to manual testing. Pinning its flyspell-UI orchestration would mean mocking flyspell internals rather than our own logic.
Diffstat (limited to 'calendar-sync.local.el.example')
0 files changed, 0 insertions, 0 deletions
