summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cap-words.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2008-05-23 15:31:17 +0000
committerJuanma Barranquero <lekktu@gmail.com>2008-05-23 15:31:17 +0000
commitf05cde180d893a81e41f27b0a4cfbfb38de3f752 (patch)
tree8c7b25146edb3fef29cfdf2a01778a29ffa129ea /lisp/progmodes/cap-words.el
parent67ef7528415bcbc84ce29c1403b8f1ae74e469a3 (diff)
downloademacs-f05cde180d893a81e41f27b0a4cfbfb38de3f752.tar.gz
(capitalized-words-mode): Fix typos in docstring.
Diffstat (limited to 'lisp/progmodes/cap-words.el')
-rw-r--r--lisp/progmodes/cap-words.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/cap-words.el b/lisp/progmodes/cap-words.el
index a08880d9d43..411039141a0 100644
--- a/lisp/progmodes/cap-words.el
+++ b/lisp/progmodes/cap-words.el
@@ -60,7 +60,7 @@ Looks for word boundaries before capitals."
;;;###autoload
(define-minor-mode capitalized-words-mode
- "Toggle Capitalized- Words mode.
+ "Toggle Capitalized Words mode.
In this minor mode, a word boundary occurs immediately before an
uppercase letter in a symbol. This is in addition to all the normal
@@ -74,13 +74,13 @@ E.g. the beginning of words in the following identifier are as marked:
Note that these word boundaries only apply for word motion and
marking commands such as \\[forward-word]. This mode does not affect word
-boundaries in found by regexp matching (`\\>', `\\w' &c).
+boundaries found by regexp matching (`\\>', `\\w' &c).
This style of identifiers is common in environments like Java ones,
where underscores aren't trendy enough. Capitalization rules are
sometimes part of the language, e.g. Haskell, which may thus encourage
such a style. It is appropriate to add `capitalized-words-mode' to
-the mode hook for programming langauge modes in which you encounter
+the mode hook for programming language modes in which you encounter
variables like this, e.g. `java-mode-hook'. It's unlikely to cause
trouble if such identifiers aren't used.