Mercurial > emacs
changeset 95265:de1c8bf64340
(capitalized-words-mode): Fix typos in docstring.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 23 May 2008 15:29:53 +0000 |
parents | 9a5c3aa85e90 |
children | 9360d63720be |
files | lisp/progmodes/cap-words.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/cap-words.el Fri May 23 12:54:18 2008 +0000 +++ b/lisp/progmodes/cap-words.el Fri May 23 15:29:53 2008 +0000 @@ -60,7 +60,7 @@ ;;;###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 @@ 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.