aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2007-12-22 20:21:06 +0000
committerRichard M. Stallman2007-12-22 20:21:06 +0000
commitabfd019136c55d6a133ac44ea40f55190ef2cfa3 (patch)
treef606fe69e5e259fcf41d035f1ec0654ced439da6
parentca88f0a5c8d0ff8c84848b891fc2c6f3af5bb36c (diff)
downloademacs-abfd019136c55d6a133ac44ea40f55190ef2cfa3.tar.gz
emacs-abfd019136c55d6a133ac44ea40f55190ef2cfa3.zip
(Query Replace): Make exp of query-replace more self-contained, and clarify.
-rw-r--r--man/ChangeLog7
-rw-r--r--man/search.texi9
2 files changed, 11 insertions, 5 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index c6fab4340b8..8921b4480b3 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,10 @@
12007-12-22 Richard Stallman <rms@gnu.org>
2
3 * search.texi (Query Replace): Make exp of query-replace more
4 self-contained, and clarify.
5
6 * cc-mode.texi (Getting Started): Change @ref to @pxref.
7
12007-12-14 Sven Joachim <svenjoac@gmx.de> 82007-12-14 Sven Joachim <svenjoac@gmx.de>
2 9
3 * gnus.texi (Score Variables): Fix typo. 10 * gnus.texi (Score Variables): Fix typo.
diff --git a/man/search.texi b/man/search.texi
index 1a8a6372ba2..48af28fa441 100644
--- a/man/search.texi
+++ b/man/search.texi
@@ -1152,13 +1152,12 @@ Replace some matches for @var{regexp} with @var{newstring}.
1152@kindex M-% 1152@kindex M-%
1153@findex query-replace 1153@findex query-replace
1154 If you want to change only some of the occurrences of @samp{foo} to 1154 If you want to change only some of the occurrences of @samp{foo} to
1155@samp{bar}, not all of them, then you cannot use an ordinary 1155@samp{bar}, not all of them, use @kbd{M-%} (@code{query-replace}).
1156@code{replace-string}. Instead, use @kbd{M-%} (@code{query-replace}).
1157This command finds occurrences of @samp{foo} one by one, displays each 1156This command finds occurrences of @samp{foo} one by one, displays each
1158occurrence and asks you whether to replace it. Aside from querying, 1157occurrence and asks you whether to replace it. Aside from querying,
1159@code{query-replace} works just like @code{replace-string}. It 1158@code{query-replace} works just like @code{replace-string}
1160preserves case, like @code{replace-string}, provided 1159(@pxref{Unconditional Replace}). In particular, it preserves case
1161@code{case-replace} is non-@code{nil}, as it normally is 1160provided @code{case-replace} is non-@code{nil}, as it normally is
1162(@pxref{Replacement and Case}). A numeric argument means consider 1161(@pxref{Replacement and Case}). A numeric argument means consider
1163only occurrences that are bounded by word-delimiter characters. 1162only occurrences that are bounded by word-delimiter characters.
1164 1163