summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2007-12-22 20:21:06 +0000
committerRichard M. Stallman <rms@gnu.org>2007-12-22 20:21:06 +0000
commitabfd019136c55d6a133ac44ea40f55190ef2cfa3 (patch)
treef606fe69e5e259fcf41d035f1ec0654ced439da6 /man
parentca88f0a5c8d0ff8c84848b891fc2c6f3af5bb36c (diff)
downloademacs-abfd019136c55d6a133ac44ea40f55190ef2cfa3.tar.gz
(Query Replace): Make exp of query-replace more self-contained, and clarify.
Diffstat (limited to 'man')
-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 @@
+2007-12-22 Richard Stallman <rms@gnu.org>
+
+ * search.texi (Query Replace): Make exp of query-replace more
+ self-contained, and clarify.
+
+ * cc-mode.texi (Getting Started): Change @ref to @pxref.
+
2007-12-14 Sven Joachim <svenjoac@gmx.de>
* 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}.
@kindex M-%
@findex query-replace
If you want to change only some of the occurrences of @samp{foo} to
-@samp{bar}, not all of them, then you cannot use an ordinary
-@code{replace-string}. Instead, use @kbd{M-%} (@code{query-replace}).
+@samp{bar}, not all of them, use @kbd{M-%} (@code{query-replace}).
This command finds occurrences of @samp{foo} one by one, displays each
occurrence and asks you whether to replace it. Aside from querying,
-@code{query-replace} works just like @code{replace-string}. It
-preserves case, like @code{replace-string}, provided
-@code{case-replace} is non-@code{nil}, as it normally is
+@code{query-replace} works just like @code{replace-string}
+(@pxref{Unconditional Replace}). In particular, it preserves case
+provided @code{case-replace} is non-@code{nil}, as it normally is
(@pxref{Replacement and Case}). A numeric argument means consider
only occurrences that are bounded by word-delimiter characters.