Skip to content

Commit c30cf72

Browse files
committed
fix missing alist
1 parent 9712f52 commit c30cf72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

codegpt.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ This command is interactive region only, the START and END are boundaries of
133133
that region in buffer."
134134
(interactive "r")
135135
(let*
136-
((offset (openai--completing-frame-offset openai-completion-code-action-alist))
136+
((offset (openai--completing-frame-offset codegpt-action-alist))
137137
(action
138138
(completing-read
139139
"Select completion action: "
@@ -144,8 +144,8 @@ that region in buffer."
144144
(annotation-function
145145
. ,(lambda (cand)
146146
(concat (propertize " " 'display `((space :align-to (- right ,offset))))
147-
(cdr (assoc cand openai-completion-code-action-alist))))))
148-
(complete-with-action action openai-completion-code-action-alist string predicate)))
147+
(cdr (assoc cand codegpt-action-alist))))))
148+
(complete-with-action action codegpt-action-alist string predicate)))
149149
nil t)))
150150
(funcall
151151
(pcase action

0 commit comments

Comments
 (0)