summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cap-words.el
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2003-09-11 09:26:21 +0000
committerDave Love <fx@gnu.org>2003-09-11 09:26:21 +0000
commit6eff8ddf026a9ebb30e66ae02e0ee4dde0d4db84 (patch)
treec1770b4aa6af3d628ad5535f0a15a841bda8cbcb /lisp/progmodes/cap-words.el
parent8a97200fb4fd0511ca15a2a4d315e6fb1bc82437 (diff)
downloademacs-6eff8ddf026a9ebb30e66ae02e0ee4dde0d4db84.tar.gz
(capitalized-words-mode): Add autoload
cookie. Doc fix.
Diffstat (limited to 'lisp/progmodes/cap-words.el')
-rw-r--r--lisp/progmodes/cap-words.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/progmodes/cap-words.el b/lisp/progmodes/cap-words.el
index eb6da529371..a10a9d550fc 100644
--- a/lisp/progmodes/cap-words.el
+++ b/lisp/progmodes/cap-words.el
@@ -56,6 +56,7 @@ Looks for word boundaries before capitals."
tab)
"Assigned to `next-word-boundary-function-table' in Capitalized Words mode.")
+;;;###autoload
(define-minor-mode capitalized-words-mode
"Toggle Capitalized- Words mode.
@@ -75,11 +76,11 @@ boundaries in 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 encourage such
-a style. It is appropriate to add `capitalized-words-mode' to the
-mode hook for programming langauge modes in which you encounter such
-variables, e.g. `java-mode-hook', since it's unlikely to cause trouble
-if such identifiers aren't used.
+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
+variables like this, e.g. `java-mode-hook'. It's unlikely to cause
+trouble if such identifiers aren't used.
See also `glasses-mode' and `studlify-word'.
Obsoletes `c-forward-into-nomenclature'."