aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2010-01-18 04:58:35 +0100
committerJuanma Barranquero2010-01-18 04:58:35 +0100
commit33972e801477b638f22f4ba3f6e04199d5992124 (patch)
treecf9c6d0fd8ff494f1050b1e7042f6f1ce8a4865d
parent14f17fc8ff23dbf6d6442f904a73b0e181f01886 (diff)
downloademacs-33972e801477b638f22f4ba3f6e04199d5992124.tar.gz
emacs-33972e801477b638f22f4ba3f6e04199d5992124.zip
Fix typos in comments.
-rw-r--r--lib-src/make-docfile.c6
-rw-r--r--lisp/cedet/cedet-files.el2
-rw-r--r--lisp/cedet/srecode/extract.el2
-rw-r--r--lisp/textmodes/artist.el4
4 files changed, 7 insertions, 7 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index af1928c63fb..eb15342ca5b 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -240,10 +240,10 @@ struct rcsoc_state
240 /* A keyword we look for at the beginning of lines. If found, it is 240 /* A keyword we look for at the beginning of lines. If found, it is
241 not copied, and SAW_KEYWORD is set to true. */ 241 not copied, and SAW_KEYWORD is set to true. */
242 char *keyword; 242 char *keyword;
243 /* The current point we've reached in an occurance of KEYWORD in 243 /* The current point we've reached in an occurrence of KEYWORD in
244 the input stream. */ 244 the input stream. */
245 char *cur_keyword_ptr; 245 char *cur_keyword_ptr;
246 /* Set to true if we saw an occurance of KEYWORD. */ 246 /* Set to true if we saw an occurrence of KEYWORD. */
247 int saw_keyword; 247 int saw_keyword;
248}; 248};
249 249
@@ -354,7 +354,7 @@ scan_keyword_or_put_char (ch, state)
354 PRINTFLAG is positive, output string contents to outfile. If it is 354 PRINTFLAG is positive, output string contents to outfile. If it is
355 negative, store contents in buf. Convert escape sequences \n and 355 negative, store contents in buf. Convert escape sequences \n and
356 \t to newline and tab; discard \ followed by newline. 356 \t to newline and tab; discard \ followed by newline.
357 If SAW_USAGE is non-zero, then any occurances of the string `usage:' 357 If SAW_USAGE is non-zero, then any occurrences of the string `usage:'
358 at the beginning of a line will be removed, and *SAW_USAGE set to 358 at the beginning of a line will be removed, and *SAW_USAGE set to
359 true if any were encountered. */ 359 true if any were encountered. */
360 360
diff --git a/lisp/cedet/cedet-files.el b/lisp/cedet/cedet-files.el
index 5d149ee7560..9dacf062288 100644
--- a/lisp/cedet/cedet-files.el
+++ b/lisp/cedet/cedet-files.el
@@ -69,7 +69,7 @@ specific conversions during tests."
69 (let ((file referencefile)) 69 (let ((file referencefile))
70 ;; Replace the ! with / 70 ;; Replace the ! with /
71 (setq file (subst-char-in-string ?! ?/ file)) 71 (setq file (subst-char-in-string ?! ?/ file))
72 ;; Occurances of // meant there was once a single !. 72 ;; Occurrences of // meant there was once a single !.
73 (setq file (replace-regexp-in-string "//" "!" file)) 73 (setq file (replace-regexp-in-string "//" "!" file))
74 74
75 ;; Handle Windows special cases 75 ;; Handle Windows special cases
diff --git a/lisp/cedet/srecode/extract.el b/lisp/cedet/srecode/extract.el
index 8a324550c4d..90eda533335 100644
--- a/lisp/cedet/srecode/extract.el
+++ b/lisp/cedet/srecode/extract.el
@@ -216,7 +216,7 @@ Return nil if nothing was extracted."
216 (srecode-insert-include-lookup ins dict) 216 (srecode-insert-include-lookup ins dict)
217 ;; There are two modes for includes. One is with no dict, 217 ;; There are two modes for includes. One is with no dict,
218 ;; so it is inserted straight. If the dict has a name, then 218 ;; so it is inserted straight. If the dict has a name, then
219 ;; we need to run once per dictionary occurance. 219 ;; we need to run once per dictionary occurrence.
220 (if (not (string= (oref ins :object-name) "")) 220 (if (not (string= (oref ins :object-name) ""))
221 ;; With a name, do the insertion. 221 ;; With a name, do the insertion.
222 (let ((subdict (srecode-dictionary-add-section-dictionary 222 (let ((subdict (srecode-dictionary-add-section-dictionary
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el
index 66d831968d1..e1d7b053491 100644
--- a/lisp/textmodes/artist.el
+++ b/lisp/textmodes/artist.el
@@ -5528,7 +5528,7 @@ The event, EV, is the mouse event."
5528;; See `artist-draw-rect' for an example. 5528;; See `artist-draw-rect' for an example.
5529;; 5529;;
5530;; You must call the init-fn, the prep-fill-fn, arrow-set-fn 5530;; You must call the init-fn, the prep-fill-fn, arrow-set-fn
5531;; and the exit-fn at the apropriate points. 5531;; and the exit-fn at the appropriate points.
5532;; 5532;;
5533;; When artist-mouse-draw-xxx ends, the shape for your mode 5533;; When artist-mouse-draw-xxx ends, the shape for your mode
5534;; must be completely drawn. 5534;; must be completely drawn.
@@ -5561,7 +5561,7 @@ The event, EV, is the mouse event."
5561;; work. 5561;; work.
5562;; 5562;;
5563;; You must call the init-fn, the prep-fill-fn, arrow-set-fn 5563;; You must call the init-fn, the prep-fill-fn, arrow-set-fn
5564;; and the exit-fn at the apropriate points. 5564;; and the exit-fn at the appropriate points.
5565;; 5565;;
5566;; e. Add your new mode to the master table, `artist-mt'. 5566;; e. Add your new mode to the master table, `artist-mt'.
5567;; 5567;;