diff options
author | Juanma Barranquero <[email protected]> | 2010-01-18 04:58:35 +0100 |
---|---|---|
committer | Juanma Barranquero <[email protected]> | 2010-01-18 04:58:35 +0100 |
commit | 33972e801477b638f22f4ba3f6e04199d5992124 (patch) | |
tree | cf9c6d0fd8ff494f1050b1e7042f6f1ce8a4865d | |
parent | 14f17fc8ff23dbf6d6442f904a73b0e181f01886 (diff) |
Fix typos in comments.
-rw-r--r-- | lib-src/make-docfile.c | 6 | ||||
-rw-r--r-- | lisp/cedet/cedet-files.el | 2 | ||||
-rw-r--r-- | lisp/cedet/srecode/extract.el | 2 | ||||
-rw-r--r-- | lisp/textmodes/artist.el | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index af1928c63f..eb15342ca5 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c @@ -240,10 +240,10 @@ struct rcsoc_state /* 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 @@ scan_keyword_or_put_char (ch, state) 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. */ diff --git a/lisp/cedet/cedet-files.el b/lisp/cedet/cedet-files.el index 5d149ee756..9dacf06228 100644 --- a/lisp/cedet/cedet-files.el +++ b/lisp/cedet/cedet-files.el @@ -69,7 +69,7 @@ specific conversions during tests." (let ((file referencefile)) ;; Replace the ! with / (setq file (subst-char-in-string ?! ?/ file)) - ;; Occurances of // meant there was once a single !. + ;; Occurrences of // meant there was once a single !. (setq file (replace-regexp-in-string "//" "!" file)) ;; Handle Windows special cases diff --git a/lisp/cedet/srecode/extract.el b/lisp/cedet/srecode/extract.el index 8a324550c4..90eda53333 100644 --- a/lisp/cedet/srecode/extract.el +++ b/lisp/cedet/srecode/extract.el @@ -216,7 +216,7 @@ Return nil if nothing was extracted." (srecode-insert-include-lookup ins dict) ;; There are two modes for includes. One is with no dict, ;; so it is inserted straight. If the dict has a name, then - ;; we need to run once per dictionary occurance. + ;; we need to run once per dictionary occurrence. (if (not (string= (oref ins :object-name) "")) ;; With a name, do the insertion. (let ((subdict (srecode-dictionary-add-section-dictionary diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el index 66d831968d..e1d7b05349 100644 --- a/lisp/textmodes/artist.el +++ b/lisp/textmodes/artist.el @@ -5528,7 +5528,7 @@ The event, EV, is the mouse event." ;; See `artist-draw-rect' for an example. ;; ;; You must call the init-fn, the prep-fill-fn, arrow-set-fn -;; and the exit-fn at the apropriate points. +;; and the exit-fn at the appropriate points. ;; ;; When artist-mouse-draw-xxx ends, the shape for your mode ;; must be completely drawn. @@ -5561,7 +5561,7 @@ The event, EV, is the mouse event." ;; work. ;; ;; You must call the init-fn, the prep-fill-fn, arrow-set-fn -;; and the exit-fn at the apropriate points. +;; and the exit-fn at the appropriate points. ;; ;; e. Add your new mode to the master table, `artist-mt'. ;; |