aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2003-09-11 09:26:21 +0000
committerDave Love2003-09-11 09:26:21 +0000
commit6eff8ddf026a9ebb30e66ae02e0ee4dde0d4db84 (patch)
treec1770b4aa6af3d628ad5535f0a15a841bda8cbcb
parent8a97200fb4fd0511ca15a2a4d315e6fb1bc82437 (diff)
downloademacs-6eff8ddf026a9ebb30e66ae02e0ee4dde0d4db84.tar.gz
emacs-6eff8ddf026a9ebb30e66ae02e0ee4dde0d4db84.zip
(capitalized-words-mode): Add autoload
cookie. Doc fix.
-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."
56 tab) 56 tab)
57 "Assigned to `next-word-boundary-function-table' in Capitalized Words mode.") 57 "Assigned to `next-word-boundary-function-table' in Capitalized Words mode.")
58 58
59;;;###autoload
59(define-minor-mode capitalized-words-mode 60(define-minor-mode capitalized-words-mode
60 "Toggle Capitalized- Words mode. 61 "Toggle Capitalized- Words mode.
61 62
@@ -75,11 +76,11 @@ boundaries in found by regexp matching (`\\>', `\\w' &c).
75 76
76This style of identifiers is common in environments like Java ones, 77This style of identifiers is common in environments like Java ones,
77where underscores aren't trendy enough. Capitalization rules are 78where underscores aren't trendy enough. Capitalization rules are
78sometimes part of the language, e.g. Haskell, which may encourage such 79sometimes part of the language, e.g. Haskell, which may thus encourage
79a style. It is appropriate to add `capitalized-words-mode' to the 80such a style. It is appropriate to add `capitalized-words-mode' to
80mode hook for programming langauge modes in which you encounter such 81the mode hook for programming langauge modes in which you encounter
81variables, e.g. `java-mode-hook', since it's unlikely to cause trouble 82variables like this, e.g. `java-mode-hook'. It's unlikely to cause
82if such identifiers aren't used. 83trouble if such identifiers aren't used.
83 84
84See also `glasses-mode' and `studlify-word'. 85See also `glasses-mode' and `studlify-word'.
85Obsoletes `c-forward-into-nomenclature'." 86Obsoletes `c-forward-into-nomenclature'."