diff options
| -rw-r--r-- | lisp/progmodes/cap-words.el | 11 |
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 | ||
| 76 | This style of identifiers is common in environments like Java ones, | 77 | This style of identifiers is common in environments like Java ones, |
| 77 | where underscores aren't trendy enough. Capitalization rules are | 78 | where underscores aren't trendy enough. Capitalization rules are |
| 78 | sometimes part of the language, e.g. Haskell, which may encourage such | 79 | sometimes part of the language, e.g. Haskell, which may thus encourage |
| 79 | a style. It is appropriate to add `capitalized-words-mode' to the | 80 | such a style. It is appropriate to add `capitalized-words-mode' to |
| 80 | mode hook for programming langauge modes in which you encounter such | 81 | the mode hook for programming langauge modes in which you encounter |
| 81 | variables, e.g. `java-mode-hook', since it's unlikely to cause trouble | 82 | variables like this, e.g. `java-mode-hook'. It's unlikely to cause |
| 82 | if such identifiers aren't used. | 83 | trouble if such identifiers aren't used. |
| 83 | 84 | ||
| 84 | See also `glasses-mode' and `studlify-word'. | 85 | See also `glasses-mode' and `studlify-word'. |
| 85 | Obsoletes `c-forward-into-nomenclature'." | 86 | Obsoletes `c-forward-into-nomenclature'." |