aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2008-05-23 15:31:17 +0000
committerJuanma Barranquero2008-05-23 15:31:17 +0000
commitf05cde180d893a81e41f27b0a4cfbfb38de3f752 (patch)
tree8c7b25146edb3fef29cfdf2a01778a29ffa129ea
parent67ef7528415bcbc84ce29c1403b8f1ae74e469a3 (diff)
downloademacs-f05cde180d893a81e41f27b0a4cfbfb38de3f752.tar.gz
emacs-f05cde180d893a81e41f27b0a4cfbfb38de3f752.zip
(capitalized-words-mode): Fix typos in docstring.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/cap-words.el6
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8d1b90bcfcb..9b18c3e3b07 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-05-23 Juanma Barranquero <lekktu@gmail.com>
2
3 * progmodes/cap-words.el (capitalized-words-mode):
4 Fix typos in docstring.
5
12008-05-23 Kenichi Handa <handa@m17n.org> 62008-05-23 Kenichi Handa <handa@m17n.org>
2 7
3 * international/mule-conf.el: Don't define the charset `emacs' 8 * international/mule-conf.el: Don't define the charset `emacs'
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."
60 60
61;;;###autoload 61;;;###autoload
62(define-minor-mode capitalized-words-mode 62(define-minor-mode capitalized-words-mode
63 "Toggle Capitalized- Words mode. 63 "Toggle Capitalized Words mode.
64 64
65In this minor mode, a word boundary occurs immediately before an 65In this minor mode, a word boundary occurs immediately before an
66uppercase letter in a symbol. This is in addition to all the normal 66uppercase 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:
74 74
75Note that these word boundaries only apply for word motion and 75Note that these word boundaries only apply for word motion and
76marking commands such as \\[forward-word]. This mode does not affect word 76marking commands such as \\[forward-word]. This mode does not affect word
77boundaries in found by regexp matching (`\\>', `\\w' &c). 77boundaries found by regexp matching (`\\>', `\\w' &c).
78 78
79This style of identifiers is common in environments like Java ones, 79This style of identifiers is common in environments like Java ones,
80where underscores aren't trendy enough. Capitalization rules are 80where underscores aren't trendy enough. Capitalization rules are
81sometimes part of the language, e.g. Haskell, which may thus encourage 81sometimes part of the language, e.g. Haskell, which may thus encourage
82such a style. It is appropriate to add `capitalized-words-mode' to 82such a style. It is appropriate to add `capitalized-words-mode' to
83the mode hook for programming langauge modes in which you encounter 83the mode hook for programming language modes in which you encounter
84variables like this, e.g. `java-mode-hook'. It's unlikely to cause 84variables like this, e.g. `java-mode-hook'. It's unlikely to cause
85trouble if such identifiers aren't used. 85trouble if such identifiers aren't used.
86 86