diff options
author | Mark A. Hershberger <mhershberger@intrahealth.org> | 2010-01-19 14:39:22 -0500 |
---|---|---|
committer | Mark A. Hershberger <mhershberger@intrahealth.org> | 2010-01-19 14:39:22 -0500 |
commit | aaef4f91fad60716fa070b912d71b9f1ccd2e7b4 (patch) | |
tree | 8c0935e7db850a6100bfb1d9a56b322a6cc82275 /doc | |
parent | bc4b76f12a306f8fbc892e6f1e00733f3ef1981f (diff) | |
download | emacs-aaef4f91fad60716fa070b912d71b9f1ccd2e7b4.tar.gz |
replace references to obsolete c-subword-mode
Diffstat (limited to 'doc')
-rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
-rw-r--r-- | doc/emacs/programs.texi | 6 | ||||
-rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
-rw-r--r-- | doc/misc/cc-mode.texi | 13 |
4 files changed, 18 insertions, 10 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 8ca2b187d94..e9ab5edd57e 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,8 @@ +2010-01-19 Mark A. Hershberger <mah@everybody.org> + + * programs.texi (Other C Commands): Replace reference to obsolete + c-subword-mode. + 2010-01-12 Glenn Morris <rgm@gnu.org> * trouble.texi (Checklist): Use bug-gnu-emacs rather than diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index ac955956b91..8ebbcf58ed4 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi @@ -1609,13 +1609,13 @@ hungry-delete feature is enabled. @table @kbd @item C-c C-w -@itemx M-x c-subword-mode -@findex c-subword-mode +@itemx M-x subword-mode +@findex subword-mode Enable (or disable) @dfn{subword mode}. In subword mode, Emacs's word commands recognize upper case letters in @samp{StudlyCapsIdentifiers} as word boundaries. This is indicated by the flag @samp{/w} on the mode line after the mode name -(e.g. @samp{C/law}). You can even use @kbd{M-x c-subword-mode} in +(e.g. @samp{C/law}). You can even use @kbd{M-x subword-mode} in non-CC Mode buffers. In the GNU project, we recommend using underscores to separate words 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 @@ +2010-01-19 Mark A. Hershberger <mah@everybody.org> + + * cc-mode.texi: Replace references to obsolete c-subword-mode. + 2010-01-18 Juanma Barranquero <lekktu@gmail.com> * 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. If @var{n} is negative, move in the opposite direction. Note that these two commands have been superseded by -@code{c-subword-mode}, which you should use instead. @xref{Subword +@code{subword-mode}, which you should use instead. @xref{Subword Movement}. They might be removed from a future release of @ccmode{}. @end table @@ -1194,10 +1194,9 @@ Toggle hungry-delete minor mode. @findex toggle-auto-hungry-state (c-) Toggle both auto-newline and hungry delete minor modes. -@item @kbd{C-c C-w} (@code{M-x c-subword-mode}) +@item @kbd{C-c C-w} (@code{M-x subword-mode}) @kindex C-c C-w -@findex c-subword-mode -@findex subword-mode (c-) +@findex subword-mode Toggle subword mode. @item @kbd{M-x c-toggle-syntactic-indentation} @@ -1694,11 +1693,11 @@ mode turn on automatically, put the following code in your @example (add-hook 'c-mode-common-hook - (lambda () (c-subword-mode 1))) + (lambda () (subword-mode 1))) @end example -As a bonus, you can also use @code{c-subword-mode} in non-@ccmode{} -buffers by typing @kbd{M-x c-subword-mode}. +As a bonus, you can also use @code{subword-mode} in non-@ccmode{} +buffers by typing @kbd{M-x subword-mode}. @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! @node Other Commands, , Subword Movement, Commands |