From f24ec164cd3b4233c37fc8cdff4ad138c0bfaae1 Mon Sep 17 00:00:00 2001 From: Karthik Chikmagalur Date: Sat, 30 Mar 2024 09:42:30 -0700 Subject: [PATCH] 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) --- gptel.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gptel.el b/gptel.el index 1fecdb0..e3ec652 100644 --- a/gptel.el +++ b/gptel.el @@ -244,8 +244,8 @@ start and end buffer positions of the response.") (defcustom gptel-post-response-functions nil "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 -to the LLM, and after the full response has been inserted. Each +This hook is called in the buffer to which the LLM response is +sent, and after the full response has been inserted. Each function is called with two arguments: the response beginning and end positions.