diff options
| author | Mark A. Hershberger | 2010-01-19 14:39:22 -0500 |
|---|---|---|
| committer | Mark A. Hershberger | 2010-01-19 14:39:22 -0500 |
| commit | aaef4f91fad60716fa070b912d71b9f1ccd2e7b4 (patch) | |
| tree | 8c0935e7db850a6100bfb1d9a56b322a6cc82275 /doc/misc | |
| parent | bc4b76f12a306f8fbc892e6f1e00733f3ef1981f (diff) | |
| download | emacs-aaef4f91fad60716fa070b912d71b9f1ccd2e7b4.tar.gz emacs-aaef4f91fad60716fa070b912d71b9f1ccd2e7b4.zip | |
replace references to obsolete c-subword-mode
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/cc-mode.texi | 13 |
2 files changed, 10 insertions, 7 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 4a099bdb2c1..50673dc7147 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-01-19 Mark A. Hershberger <mah@everybody.org> | ||
| 2 | |||
| 3 | * cc-mode.texi: Replace references to obsolete c-subword-mode. | ||
| 4 | |||
| 1 | 2010-01-18 Juanma Barranquero <lekktu@gmail.com> | 5 | 2010-01-18 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 6 | ||
| 3 | * ada-mode.texi (Project File Overview): Fix typo. | 7 | * ada-mode.texi (Project File Overview): Fix typo. |
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi index 6b72c69e05b..bfe09b64244 100644 --- a/doc/misc/cc-mode.texi +++ b/doc/misc/cc-mode.texi | |||
| @@ -1012,7 +1012,7 @@ capitalized word. With prefix argument @var{n}, move @var{n} times. | |||
| 1012 | If @var{n} is negative, move in the opposite direction. | 1012 | If @var{n} is negative, move in the opposite direction. |
| 1013 | 1013 | ||
| 1014 | Note that these two commands have been superseded by | 1014 | Note that these two commands have been superseded by |
| 1015 | @code{c-subword-mode}, which you should use instead. @xref{Subword | 1015 | @code{subword-mode}, which you should use instead. @xref{Subword |
| 1016 | Movement}. They might be removed from a future release of @ccmode{}. | 1016 | Movement}. They might be removed from a future release of @ccmode{}. |
| 1017 | @end table | 1017 | @end table |
| 1018 | 1018 | ||
| @@ -1194,10 +1194,9 @@ Toggle hungry-delete minor mode. | |||
| 1194 | @findex toggle-auto-hungry-state (c-) | 1194 | @findex toggle-auto-hungry-state (c-) |
| 1195 | Toggle both auto-newline and hungry delete minor modes. | 1195 | Toggle both auto-newline and hungry delete minor modes. |
| 1196 | 1196 | ||
| 1197 | @item @kbd{C-c C-w} (@code{M-x c-subword-mode}) | 1197 | @item @kbd{C-c C-w} (@code{M-x subword-mode}) |
| 1198 | @kindex C-c C-w | 1198 | @kindex C-c C-w |
| 1199 | @findex c-subword-mode | 1199 | @findex subword-mode |
| 1200 | @findex subword-mode (c-) | ||
| 1201 | Toggle subword mode. | 1200 | Toggle subword mode. |
| 1202 | 1201 | ||
| 1203 | @item @kbd{M-x c-toggle-syntactic-indentation} | 1202 | @item @kbd{M-x c-toggle-syntactic-indentation} |
| @@ -1694,11 +1693,11 @@ mode turn on automatically, put the following code in your | |||
| 1694 | 1693 | ||
| 1695 | @example | 1694 | @example |
| 1696 | (add-hook 'c-mode-common-hook | 1695 | (add-hook 'c-mode-common-hook |
| 1697 | (lambda () (c-subword-mode 1))) | 1696 | (lambda () (subword-mode 1))) |
| 1698 | @end example | 1697 | @end example |
| 1699 | 1698 | ||
| 1700 | As a bonus, you can also use @code{c-subword-mode} in non-@ccmode{} | 1699 | As a bonus, you can also use @code{subword-mode} in non-@ccmode{} |
| 1701 | buffers by typing @kbd{M-x c-subword-mode}. | 1700 | buffers by typing @kbd{M-x subword-mode}. |
| 1702 | 1701 | ||
| 1703 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | 1702 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 1704 | @node Other Commands, , Subword Movement, Commands | 1703 | @node Other Commands, , Subword Movement, Commands |