Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
224a3131
Commit
224a3131
authored
Apr 23, 2011
by
Eli Zaretskii
Browse files
Fix typos in comments in character.c and textprop.c.
parent
e6c3da20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
src/character.c
src/character.c
+7
-8
src/textprop.c
src/textprop.c
+1
-1
No files found.
src/character.c
View file @
224a3131
...
...
@@ -162,11 +162,11 @@ char_string (unsigned int c, unsigned char *p)
}
/* Return a character whose multibyte form is at P.
Set
LEN is not
/* Return a character whose multibyte form is at P.
If
LEN is not
NULL, it must be a pointer to integer. In that case, set *LEN to
the byte length of the multibyte form. If ADVANCED is not NULL, i
s
the byte length of the multibyte form. If ADVANCED is not NULL, i
t
must be a pointer to unsigned char. In that case, set *ADVANCED to
the ending address (i.e. the starting address of the next
the ending address (i.e.
,
the starting address of the next
character) of the multibyte form. */
int
...
...
@@ -206,11 +206,10 @@ string_char (const unsigned char *p, const unsigned char **advanced, int *len)
}
/* Translate character C by translation table TABLE. If C is
negative, translate a character specified by CHARSET and CODE. If
no translation is found in TABLE, return the untranslated
character. If TABLE is a list, elements are char tables. In this
case, translace C by all tables. */
/* Translate character C by translation table TABLE. If no translation is
found in TABLE, return the untranslated character. If TABLE is a list,
elements are char tables. In that case, recursively translate C by all the
tables in the list. */
int
translate_char
(
Lisp_Object
table
,
int
c
)
...
...
src/textprop.c
View file @
224a3131
...
...
@@ -233,7 +233,7 @@ interval_has_all_properties (Lisp_Object plist, INTERVAL i)
if
(
!
EQ
(
Fcar
(
XCDR
(
tail1
)),
Fcar
(
XCDR
(
tail2
))))
return
0
;
/* Property has same value on both lists;
go to next one. */
/* Property has same value on both lists; go to next one. */
found
=
1
;
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment