summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-16 17:39:56 -0500
committerCraig Jennings <c@cjennings.net>2026-05-16 17:39:56 -0500
commit69940b0a76e271db32216d416d2b0a91cf5e081d (patch)
tree20e81f269133ec3599b7bfb823da623558df26e2 /docs
parent0490662ba54c09804bc4d021f1afcf7d3081eecc (diff)
downloaddotemacs-69940b0a76e271db32216d416d2b0a91cf5e081d.tar.gz
dotemacs-69940b0a76e271db32216d416d2b0a91cf5e081d.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