1
0
Fork 0

Mention that a buffer could be narrowed when operating on it

This commit is contained in:
Bram Schoenmakers 2024-04-10 16:29:57 +02:00
parent c8f1461ada
commit 0700f6e51b
Signed by: bram
GPG key ID: 0CCD19DFDC63258F

View file

@ -449,7 +449,8 @@ the text manually."
(defun kagi-translate (text target-language &optional source-language interactive-p)
"Translate the TEXT to TARGET-LANGUAGE using FastGPT.
The TEXT can be either from the region, a buffer or entered manually.
The TEXT can be either from the region, a (narrowed) buffer or
entered manually.
With a single universal prefix, also prompt for the SOURCE-LANGUAGE.
@ -478,7 +479,8 @@ result is short, otherwise it is displayed in a new buffer."
(defun kagi-proofread (text &optional interactive-p)
"Proofread the given TEXT using FastGPT.
The TEXT can be either from the region, a buffer or entered manually.
The TEXT can be either from the region, a (narrowed) buffer or
entered manually.
When `kagi-proofread' is called non-interactively (INTERACTIVE-P is
nil), the function should return the string 'OK' when there are