Skip to content

Commit e95a805

Browse files
author
Kang Tu
committed
follow up need to be ai-code-prompt mode
1 parent aee07a4 commit e95a805

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ai-code-prompt-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ If PROMPT-TEXT is a command (starts with /), execute it directly instead."
418418
(let* ((processed-prompt (if ai-code-prompt-preprocess-filepaths
419419
(ai-code--preprocess-prompt-text prompt-text)
420420
prompt-text))
421-
(append-summary-p (and (derived-mode-p 'org-mode)
421+
(append-summary-p (and (derived-mode-p 'ai-code-prompt-mode)
422422
(org-at-heading-p)
423423
(y-or-n-p "Append result summary to current section? ")))
424424
(final-prompt (if append-summary-p

0 commit comments

Comments
 (0)