diff options
| author | Juanma Barranquero | 2008-05-23 15:31:17 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-05-23 15:31:17 +0000 |
| commit | f05cde180d893a81e41f27b0a4cfbfb38de3f752 (patch) | |
| tree | 8c7b25146edb3fef29cfdf2a01778a29ffa129ea | |
| parent | 67ef7528415bcbc84ce29c1403b8f1ae74e469a3 (diff) | |
| download | emacs-f05cde180d893a81e41f27b0a4cfbfb38de3f752.tar.gz emacs-f05cde180d893a81e41f27b0a4cfbfb38de3f752.zip | |
(capitalized-words-mode): Fix typos in docstring.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/cap-words.el | 6 |
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 @@ | |||
| 1 | 2008-05-23 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * progmodes/cap-words.el (capitalized-words-mode): | ||
| 4 | Fix typos in docstring. | ||
| 5 | |||
| 1 | 2008-05-23 Kenichi Handa <handa@m17n.org> | 6 | 2008-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 | ||
| 65 | In this minor mode, a word boundary occurs immediately before an | 65 | In this minor mode, a word boundary occurs immediately before an |
| 66 | uppercase letter in a symbol. This is in addition to all the normal | 66 | uppercase 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 | ||
| 75 | Note that these word boundaries only apply for word motion and | 75 | Note that these word boundaries only apply for word motion and |
| 76 | marking commands such as \\[forward-word]. This mode does not affect word | 76 | marking commands such as \\[forward-word]. This mode does not affect word |
| 77 | boundaries in found by regexp matching (`\\>', `\\w' &c). | 77 | boundaries found by regexp matching (`\\>', `\\w' &c). |
| 78 | 78 | ||
| 79 | This style of identifiers is common in environments like Java ones, | 79 | This style of identifiers is common in environments like Java ones, |
| 80 | where underscores aren't trendy enough. Capitalization rules are | 80 | where underscores aren't trendy enough. Capitalization rules are |
| 81 | sometimes part of the language, e.g. Haskell, which may thus encourage | 81 | sometimes part of the language, e.g. Haskell, which may thus encourage |
| 82 | such a style. It is appropriate to add `capitalized-words-mode' to | 82 | such a style. It is appropriate to add `capitalized-words-mode' to |
| 83 | the mode hook for programming langauge modes in which you encounter | 83 | the mode hook for programming language modes in which you encounter |
| 84 | variables like this, e.g. `java-mode-hook'. It's unlikely to cause | 84 | variables like this, e.g. `java-mode-hook'. It's unlikely to cause |
| 85 | trouble if such identifiers aren't used. | 85 | trouble if such identifiers aren't used. |
| 86 | 86 | ||