summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-mode.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-12-29 18:52:49 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-12-29 18:52:49 -0800
commit9858f6c326dfad35733b0dc86231bdd97f2b7703 (patch)
tree74e717ced1fa94d505e3ace360f3c9280bd9b2fa /lisp/progmodes/cc-mode.el
parent2cae5ba432fc30042950c073b7ec7807bb98bcde (diff)
downloademacs-9858f6c326dfad35733b0dc86231bdd97f2b7703.tar.gz
Spelling fixes.
Diffstat (limited to 'lisp/progmodes/cc-mode.el')
-rw-r--r--lisp/progmodes/cc-mode.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index 1bc0741b0aa..bf7d6bfed12 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -1102,7 +1102,7 @@ Note that the style variables are always made local to the buffer."
;; nested.
;;
;; This function is called indirectly from font locking stuff - either from
- ;; c-after-change (to prepare for after-change font-lockng) or from font
+ ;; c-after-change (to prepare for after-change font-locking) or from font
;; lock context (etc.) fontification.
(let ((lit-limits (c-literal-limits))
(new-pos pos)
@@ -1165,7 +1165,7 @@ Note that the style variables are always made local to the buffer."
;;
;;
;; void myfunc(T* p) {}
- ;;
+ ;;
;; Type a space in the first blank line, and the fontification of the next
;; line was fouled up by context fontification.
(let ((new-beg beg) (new-end end) new-region)
@@ -1180,10 +1180,10 @@ Note that the style variables are always made local to the buffer."
c-before-context-fontification-functions))))
(funcall c-standard-font-lock-fontify-region-function
new-beg new-end verbose)))
-
+
(defun c-after-font-lock-init ()
;; Put on `font-lock-mode-hook'. This function ensures our after-change
- ;; function will get excuted before the font-lock one. Amongst other
+ ;; function will get executed before the font-lock one. Amongst other
;; things.
(remove-hook 'after-change-functions 'c-after-change t)
(add-hook 'after-change-functions 'c-after-change nil t)