gptel: Adjust doc-string

* gptel.el (gptel-post-response-functions): Adjust docstring for
this hook to mention that the hook runs in the response buffer,
not the prompt buffer. (#269)
This commit is contained in:
Karthik Chikmagalur 2024-03-30 09:42:30 -07:00
parent 81bb467104
commit f24ec164cd

View file

@ -244,8 +244,8 @@ start and end buffer positions of the response.")
(defcustom gptel-post-response-functions nil (defcustom gptel-post-response-functions nil
"Abnormal hook run after inserting the LLM response into the current buffer. "Abnormal hook run after inserting the LLM response into the current buffer.
This hook is called in the buffer from which the prompt was sent This hook is called in the buffer to which the LLM response is
to the LLM, and after the full response has been inserted. Each sent, and after the full response has been inserted. Each
function is called with two arguments: the response beginning and function is called with two arguments: the response beginning and
end positions. end positions.