Mercurial > emacs
diff lib-src/make-docfile.c @ 106894:b3b9ebd930e1
Fix typos in comments.
| author | Juanma Barranquero <lekktu@gmail.com> |
|---|---|
| date | Mon, 18 Jan 2010 04:58:35 +0100 |
| parents | 1d1d5d9bd884 |
| children | 5842e8fabe06 376148b31b5e |
line wrap: on
line diff
--- a/lib-src/make-docfile.c Mon Jan 18 04:54:24 2010 +0100 +++ b/lib-src/make-docfile.c Mon Jan 18 04:58:35 2010 +0100 @@ -240,10 +240,10 @@ /* A keyword we look for at the beginning of lines. If found, it is not copied, and SAW_KEYWORD is set to true. */ char *keyword; - /* The current point we've reached in an occurance of KEYWORD in + /* The current point we've reached in an occurrence of KEYWORD in the input stream. */ char *cur_keyword_ptr; - /* Set to true if we saw an occurance of KEYWORD. */ + /* Set to true if we saw an occurrence of KEYWORD. */ int saw_keyword; }; @@ -354,7 +354,7 @@ PRINTFLAG is positive, output string contents to outfile. If it is negative, store contents in buf. Convert escape sequences \n and \t to newline and tab; discard \ followed by newline. - If SAW_USAGE is non-zero, then any occurances of the string `usage:' + If SAW_USAGE is non-zero, then any occurrences of the string `usage:' at the beginning of a line will be removed, and *SAW_USAGE set to true if any were encountered. */
