aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2011-04-23 20:19:56 +0300
committerEli Zaretskii2011-04-23 20:19:56 +0300
commit224a3131ee87cf4d59d8cf035b924171b73a25b6 (patch)
treebf85b32800e60bfc2ba0237d6cdfe4ff63e65e4a /src
parente6c3da2065ac72cc4e1a2bef22d367cd75401892 (diff)
downloademacs-224a3131ee87cf4d59d8cf035b924171b73a25b6.tar.gz
emacs-224a3131ee87cf4d59d8cf035b924171b73a25b6.zip
Fix typos in comments in character.c and textprop.c.
Diffstat (limited to 'src')
-rw-r--r--src/character.c15
-rw-r--r--src/textprop.c2
2 files changed, 8 insertions, 9 deletions
diff --git a/src/character.c b/src/character.c
index 4087e8984d0..6d27371c7e9 100644
--- a/src/character.c
+++ b/src/character.c
@@ -162,11 +162,11 @@ char_string (unsigned int c, unsigned char *p)
162} 162}
163 163
164 164
165/* Return a character whose multibyte form is at P. Set LEN is not 165/* Return a character whose multibyte form is at P. If LEN is not
166 NULL, it must be a pointer to integer. In that case, set *LEN to 166 NULL, it must be a pointer to integer. In that case, set *LEN to
167 the byte length of the multibyte form. If ADVANCED is not NULL, is 167 the byte length of the multibyte form. If ADVANCED is not NULL, it
168 must be a pointer to unsigned char. In that case, set *ADVANCED to 168 must be a pointer to unsigned char. In that case, set *ADVANCED to
169 the ending address (i.e. the starting address of the next 169 the ending address (i.e., the starting address of the next
170 character) of the multibyte form. */ 170 character) of the multibyte form. */
171 171
172int 172int
@@ -206,11 +206,10 @@ string_char (const unsigned char *p, const unsigned char **advanced, int *len)
206} 206}
207 207
208 208
209/* Translate character C by translation table TABLE. If C is 209/* Translate character C by translation table TABLE. If no translation is
210 negative, translate a character specified by CHARSET and CODE. If 210 found in TABLE, return the untranslated character. If TABLE is a list,
211 no translation is found in TABLE, return the untranslated 211 elements are char tables. In that case, recursively translate C by all the
212 character. If TABLE is a list, elements are char tables. In this 212 tables in the list. */
213 case, translace C by all tables. */
214 213
215int 214int
216translate_char (Lisp_Object table, int c) 215translate_char (Lisp_Object table, int c)
diff --git a/src/textprop.c b/src/textprop.c
index d9da36bf36b..1c56dfc0cf0 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -233,7 +233,7 @@ interval_has_all_properties (Lisp_Object plist, INTERVAL i)
233 if (! EQ (Fcar (XCDR (tail1)), Fcar (XCDR (tail2)))) 233 if (! EQ (Fcar (XCDR (tail1)), Fcar (XCDR (tail2))))
234 return 0; 234 return 0;
235 235
236 /* Property has same value on both lists; go to next one. */ 236 /* Property has same value on both lists; go to next one. */
237 found = 1; 237 found = 1;
238 break; 238 break;
239 } 239 }