aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/coding.c b/src/coding.c
index 5f477cf9473..d9964908dce 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -7333,7 +7333,7 @@ produce_annotation (struct coding_system *coding, ptrdiff_t pos)
7333 the text from the end of the gap (and GPT must be equal to PT). 7333 the text from the end of the gap (and GPT must be equal to PT).
7334 7334
7335 When the text is taken from the gap, it can't be at the beginning 7335 When the text is taken from the gap, it can't be at the beginning
7336 of the gap because the new decoded text is progressively acumulated 7336 of the gap because the new decoded text is progressively accumulated
7337 at the beginning of the gap before it gets inserted at PT (this way, 7337 at the beginning of the gap before it gets inserted at PT (this way,
7338 as the output grows, the input shrinks, so we only need to allocate 7338 as the output grows, the input shrinks, so we only need to allocate
7339 enough space for `max(IN, OUT)` instead of `IN + OUT`). 7339 enough space for `max(IN, OUT)` instead of `IN + OUT`).
@@ -9876,7 +9876,7 @@ encode_string_utf_8 (Lisp_Object string, Lisp_Object buffer,
9876 pure-ASCII; only use NOCOPY non-zero if the caller will only use 9876 pure-ASCII; only use NOCOPY non-zero if the caller will only use
9877 the byte sequence of the decoded result accessed via SDATA or 9877 the byte sequence of the decoded result accessed via SDATA or
9878 SSDATA, and if the original STRING will _not_ be modified after the 9878 SSDATA, and if the original STRING will _not_ be modified after the
9879 decoding. When in dount, always pass NOCOPY as zero. You _have_ 9879 decoding. When in doubt, always pass NOCOPY as zero. You _have_
9880 been warned! 9880 been warned!
9881 9881
9882 If STRING is Qnil, and the original string is passed via STR, NOCOPY 9882 If STRING is Qnil, and the original string is passed via STR, NOCOPY
@@ -10180,7 +10180,7 @@ DEFUN ("internal-encode-string-utf-8", Finternal_encode_string_utf_8,
10180 int repeat_count; 10180 int repeat_count;
10181 Lisp_Object val; 10181 Lisp_Object val;
10182 10182
10183 /* Check arguments. Return Qnil when an argmement is invalid. */ 10183 /* Check arguments. Return Qnil when an argument is invalid. */
10184 if (! STRINGP (string)) 10184 if (! STRINGP (string))
10185 return Qnil; 10185 return Qnil;
10186 if (! NILP (buffer) 10186 if (! NILP (buffer)
@@ -10236,7 +10236,7 @@ DEFUN ("internal-decode-string-utf-8", Finternal_decode_string_utf_8,
10236 int repeat_count; 10236 int repeat_count;
10237 Lisp_Object val; 10237 Lisp_Object val;
10238 10238
10239 /* Check arguments. Return Qnil when an argmement is invalid. */ 10239 /* Check arguments. Return Qnil when an argument is invalid. */
10240 if (! STRINGP (string)) 10240 if (! STRINGP (string))
10241 return Qnil; 10241 return Qnil;
10242 if (! NILP (buffer) 10242 if (! NILP (buffer)