Closed vzaliva closed 1 month ago
I've tried the following:
(defun chatgpt-shell-proofread-region ()
"Proofread English from region using ChatGPT."
(interactive)
(let ((chatgpt-shell-prompt-query-response-style 'inline))
(chatgpt-shell-send-region-with-header (cdr (assoc 'paper my-prompts)))))
It seems that inline
argument does not work as expected and the answer is always shown in "compose" buffer.
never mind, it was name collision with existing function
I want a command similar to
chatgpt-shell-proofread-region
, which automatically replaces the selected region with a proofread version without a preview.