diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-16 17:39:56 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-16 17:39:56 -0500 |
| commit | 27f49a8c23153b375313ee184652f22c4b93743d (patch) | |
| tree | de328921f5da8e6a62c8390b3094247dfdc817d4 /docs | |
| parent | 49e6dc25f31af9ce35dae7c7ca541491e7035209 (diff) | |
| download | dotemacs-27f49a8c23153b375313ee184652f22c4b93743d.tar.gz dotemacs-27f49a8c23153b375313ee184652f22c4b93743d.zip | |
feat(ai-conversations): autosave on a periodic timer
The existing autosave only fired after gptel-send returned, so a
conversation paused mid-thought wasn't on disk if Emacs crashed. I
added a buffer-local repeating timer that calls
cj/gptel--save-buffer-to-file every cj/gptel-autosave-interval seconds
(default 60) for as long as cj/gptel--autosave-active-p holds.
Toggle-off and kill-buffer-hook cancel it cleanly.
Tests cover start/stop idempotency, the active-p predicate, the
kill-buffer cleanup hook, and the toggle integration.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
