diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-25 11:56:35 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-25 11:56:35 -0400 |
| commit | e190648b811112c3858509f5c3632e32a33e156e (patch) | |
| tree | 552df2d8225a7ea882b7f655f5ce6aab9ea4466d /tests/test-ai-term--dispatch.el | |
| parent | 897e026c8608ba67ff3cbc0d2cfe0dbdbffd0b49 (diff) | |
| download | dotemacs-e190648b811112c3858509f5c3632e32a33e156e.tar.gz dotemacs-e190648b811112c3858509f5c3632e32a33e156e.zip | |
fix(dirvish): reap the Super+F popup session on any frame close
The popup's q (cj/dirvish-popup-quit) reaps the session's dired buffers, but closing the Hyprland float directly or letting it lose focus bypasses q and orphans them, which is the "leaves a load of buffers around" symptom. A delete-frame-functions hook scoped to the "dirvish" popup frame runs dirvish-quit on every close path. Regular C-x d sessions, where multiple dired buffers are wanted for mark-and-move, and the global dired-kill-when-opening-new-dired-buffer (deliberately off for that same reason) are both untouched. Verified: a navigated popup session drops back to baseline when the frame closes without q.
Diffstat (limited to 'tests/test-ai-term--dispatch.el')
0 files changed, 0 insertions, 0 deletions
