diff lisp/progmodes/cc-fonts.el @ 106837:855f55740303

Fix typos in comments.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 14 Jan 2010 19:37:23 +0100
parents 1d1d5d9bd884
children 1a9d5fee61d1 c18dffa2ba46
line wrap: on
line diff
--- a/lisp/progmodes/cc-fonts.el	Thu Jan 14 19:29:36 2010 +0100
+++ b/lisp/progmodes/cc-fonts.el	Thu Jan 14 19:37:23 2010 +0100
@@ -1327,7 +1327,7 @@
       ,@(when (c-lang-const c-recognize-<>-arglists)
 	  `(c-font-lock-<>-arglists))
 
-      ;; The first two rules here mostly find occurences that
+      ;; The first two rules here mostly find occurrences that
       ;; `c-font-lock-declarations' has found already, but not
       ;; declarations containing blocks in the type (see note below).
       ;; It's also useful to fontify these everywhere to show e.g. when
@@ -2117,7 +2117,7 @@
 
 (defun c-find-invalid-doc-markup (regexp limit)
   ;; Used to fontify invalid markup in doc comments after the correct
-  ;; ones have been fontified: Find the first occurence of REGEXP
+  ;; ones have been fontified: Find the first occurrence of REGEXP
   ;; between the point and LIMIT that only is fontified with
   ;; `c-doc-face-name'.  If a match is found then submatch 0 surrounds
   ;; the first char and t is returned, otherwise nil is returned.