aboutsummaryrefslogtreecommitdiff
path: root/tests/test-ui-theme-commands.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-13 16:59:49 -0500
committerCraig Jennings <c@cjennings.net>2026-07-13 16:59:49 -0500
commitb070b3bbc1c68aebc18e138cef0ba330116b6485 (patch)
tree942c5cd90dcf82a61af4ff104b0984369cb1e08e /tests/test-ui-theme-commands.el
parent2d29a317094144b1c1e89b88dbd0bd0b0556f198 (diff)
downloaddotemacs-b070b3bbc1c68aebc18e138cef0ba330116b6485.tar.gz
dotemacs-b070b3bbc1c68aebc18e138cef0ba330116b6485.zip
test(org-capture): cover the popup neutralize guards
The guards from the previous commit landed without tests. I added ten: eviction of a stray live buffer to *scratch*, capture UI spared (*Org Select*, CAPTURE-*), idempotence on a window already showing *scratch*, non-popup frames untouched, nil and non-frame inputs ignored, both hook wrappers' dispatch, and hook registration. The tests drive the real batch frame instead of mocking frame primitives: they rename it to "org-capture", exercise the guard, and revert to auto-naming. The revert must be nil, not the saved name, because Emacs refuses to set F<num>-shaped names explicitly. window-buffer-change-functions only runs during redisplay, so the module's own hook can't fire mid-test in batch.
Diffstat (limited to 'tests/test-ui-theme-commands.el')
0 files changed, 0 insertions, 0 deletions