Skip to content

Commit e38868a

Browse files
committed
Fix transient-define-prefix failure for ai-code-select-backend
1 parent 6ff3fc8 commit e38868a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ai-code-interface.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ Shows the current backend label to the right."
143143
("a" "Start AI CLI" ai-code-cli-start)
144144
("R" "Resume AI CLI" ai-code-cli-resume)
145145
("z" "Switch to AI CLI" ai-code-cli-switch-to-buffer-or-hide)
146-
("s" ai-code--select-backend-description ai-code-select-backend)
146+
;; Use plist style to provide a dynamic description function.
147+
("s" ai-code-select-backend :description ai-code--select-backend-description)
147148
("u" "Upgrade AI CLI" ai-code-upgrade-backend)
148149
("g" "Open backend config (eg. add mcp)" ai-code-open-backend-config)
149150
("|" "Apply prompt on file" ai-code-apply-prompt-on-current-file)

0 commit comments

Comments
 (0)