summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-23 03:46:39 -0500
committerCraig Jennings <c@cjennings.net>2026-05-23 03:46:39 -0500
commitb87385fd7224183ac1e5ddf5d1fbd1ec7e8ed7ed (patch)
treea1784a9de0972ee5cb0d6e6d572e32897d64781a /docs
parent680196e139dbadf79fbd8189fb9270f3e61f0ca5 (diff)
downloaddotemacs-b87385fd7224183ac1e5ddf5d1fbd1ec7e8ed7ed.tar.gz
dotemacs-b87385fd7224183ac1e5ddf5d1fbd1ec7e8ed7ed.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 'docs')
0 files changed, 0 insertions, 0 deletions