summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/cc-langs.el2
-rw-r--r--lisp/progmodes/cc-mode.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index 934186da7b..1d9b8d3f0a 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -518,7 +518,7 @@ parameters \(point-min) and \(point-max).")
c-change-expand-fl-region)
c++ '(c-depropertize-new-text
c-extend-font-lock-region-for-macros
-; c-before-after-change-extend-region-for-lambda-capture ; doens't seem needed.
+; c-before-after-change-extend-region-for-lambda-capture ; doesn't seem needed.
c-before-after-change-digit-quote
c-after-change-re-mark-raw-strings
c-neutralize-syntax-in-and-mark-CPP
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index f630b053ed..694a510677 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -497,7 +497,7 @@ preferably use the `c-mode-menu' language constant directly."
;; correct one. This happens in some Emacsen, for example when
;; `basic-save-buffer' does (insert ?\n) when `require-final-newline' is
;; non-nil; (ii) to detect when Emacs fails to invoke
-;; `before-change-functions'. This can happend when reverting a buffer - see
+;; `before-change-functions'. This can happen when reverting a buffer - see
;; bug #24094. It seems these failures happen only in GNU Emacs; XEmacs
;; seems to maintain the strict alternation of calls to
;; `before-change-functions' and `after-change-functions'.