aboutsummaryrefslogtreecommitdiff
path: root/tests/test-custom-buffer-file-copy-buffer-source.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-16 00:14:17 -0500
committerCraig Jennings <c@cjennings.net>2026-06-16 00:14:17 -0500
commit17e0e7f1828be538e95e933ebf454d655eb7bdea (patch)
treee30704e61f08a4f39a2e2cc60b33e5aa8540634e /tests/test-custom-buffer-file-copy-buffer-source.el
parent549808155cc45ca12a66915c6a195b1c00d4618b (diff)
downloaddotemacs-17e0e7f1828be538e95e933ebf454d655eb7bdea.tar.gz
dotemacs-17e0e7f1828be538e95e933ebf454d655eb7bdea.zip
fix(ai-config): intern model in gptel-switch-backend (modeline hang)
cj/gptel-switch-backend set gptel-model to the raw completing-read string. gptel's modeline code calls symbolp on gptel-model and signals wrong-type-argument on a string, which surfaces as a redisplay hang (reachable from C-; a B). The sibling command cj/gptel-change-model already interns. This one didn't. I added a pure cj/gptel--model-to-symbol helper (mirroring cj/gptel--model-to-string) and route the model through it before the setq. The existing switch-backend test asserted the buggy string value. It now asserts a symbol plus an explicit symbolp guard.
Diffstat (limited to 'tests/test-custom-buffer-file-copy-buffer-source.el')
0 files changed, 0 insertions, 0 deletions