aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMark A. Hershberger2010-01-19 14:39:22 -0500
committerMark A. Hershberger2010-01-19 14:39:22 -0500
commitaaef4f91fad60716fa070b912d71b9f1ccd2e7b4 (patch)
tree8c0935e7db850a6100bfb1d9a56b322a6cc82275 /doc
parentbc4b76f12a306f8fbc892e6f1e00733f3ef1981f (diff)
downloademacs-aaef4f91fad60716fa070b912d71b9f1ccd2e7b4.tar.gz
emacs-aaef4f91fad60716fa070b912d71b9f1ccd2e7b4.zip
replace references to obsolete c-subword-mode
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/programs.texi6
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/cc-mode.texi13
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 @@
12010-01-19 Mark A. Hershberger <mah@everybody.org>
2
3 * programs.texi (Other C Commands): Replace reference to obsolete
4 c-subword-mode.
5
12010-01-12 Glenn Morris <rgm@gnu.org> 62010-01-12 Glenn Morris <rgm@gnu.org>
2 7
3 * trouble.texi (Checklist): Use bug-gnu-emacs rather than 8 * 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.
1609 1609
1610@table @kbd 1610@table @kbd
1611@item C-c C-w 1611@item C-c C-w
1612@itemx M-x c-subword-mode 1612@itemx M-x subword-mode
1613@findex c-subword-mode 1613@findex subword-mode
1614Enable (or disable) @dfn{subword mode}. In subword mode, Emacs's word 1614Enable (or disable) @dfn{subword mode}. In subword mode, Emacs's word
1615commands recognize upper case letters in 1615commands recognize upper case letters in
1616@samp{StudlyCapsIdentifiers} as word boundaries. This is indicated by 1616@samp{StudlyCapsIdentifiers} as word boundaries. This is indicated by
1617the flag @samp{/w} on the mode line after the mode name 1617the flag @samp{/w} on the mode line after the mode name
1618(e.g. @samp{C/law}). You can even use @kbd{M-x c-subword-mode} in 1618(e.g. @samp{C/law}). You can even use @kbd{M-x subword-mode} in
1619non-CC Mode buffers. 1619non-CC Mode buffers.
1620 1620
1621In the GNU project, we recommend using underscores to separate words 1621In 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 @@
12010-01-19 Mark A. Hershberger <mah@everybody.org>
2
3 * cc-mode.texi: Replace references to obsolete c-subword-mode.
4
12010-01-18 Juanma Barranquero <lekktu@gmail.com> 52010-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.
1012If @var{n} is negative, move in the opposite direction. 1012If @var{n} is negative, move in the opposite direction.
1013 1013
1014Note that these two commands have been superseded by 1014Note 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
1016Movement}. They might be removed from a future release of @ccmode{}. 1016Movement}. 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-)
1195Toggle both auto-newline and hungry delete minor modes. 1195Toggle 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-)
1201Toggle subword mode. 1200Toggle 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
1700As a bonus, you can also use @code{c-subword-mode} in non-@ccmode{} 1699As a bonus, you can also use @code{subword-mode} in non-@ccmode{}
1701buffers by typing @kbd{M-x c-subword-mode}. 1700buffers 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