aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2007-04-23 09:15:59 +0000
committerEli Zaretskii2007-04-23 09:15:59 +0000
commit8a3b53527766cd11932507352aa9f6e9339c63b7 (patch)
treede0982d4ea2fd13625c42c45b3f3e0de387d96de
parent4b6c5eee9af2ef6b4fde97314d7fab8806a5b7b2 (diff)
downloademacs-8a3b53527766cd11932507352aa9f6e9339c63b7.tar.gz
emacs-8a3b53527766cd11932507352aa9f6e9339c63b7.zip
(Unconditional Replace, Query Replace): Add xref to "Replacement and Case".
-rw-r--r--man/search.texi9
1 files changed, 6 insertions, 3 deletions
diff --git a/man/search.texi b/man/search.texi
index 47d73bd26f6..1a8a6372ba2 100644
--- a/man/search.texi
+++ b/man/search.texi
@@ -1002,6 +1002,9 @@ C-@key{SPC}} to move back there.
1002 A numeric argument restricts replacement to matches that are surrounded 1002 A numeric argument restricts replacement to matches that are surrounded
1003by word boundaries. The argument's value doesn't matter. 1003by word boundaries. The argument's value doesn't matter.
1004 1004
1005 @xref{Replacement and Case}, for details about case-sensitivity in
1006replace commands.
1007
1005 What if you want to exchange @samp{x} and @samp{y}: replace every @samp{x} with a @samp{y} and vice versa? You can do it this way: 1008 What if you want to exchange @samp{x} and @samp{y}: replace every @samp{x} with a @samp{y} and vice versa? You can do it this way:
1006 1009
1007@example 1010@example
@@ -1155,9 +1158,9 @@ This command finds occurrences of @samp{foo} one by one, displays each
1155occurrence and asks you whether to replace it. Aside from querying, 1158occurrence and asks you whether to replace it. Aside from querying,
1156@code{query-replace} works just like @code{replace-string}. It 1159@code{query-replace} works just like @code{replace-string}. It
1157preserves case, like @code{replace-string}, provided 1160preserves case, like @code{replace-string}, provided
1158@code{case-replace} is non-@code{nil}, as it normally is. A numeric 1161@code{case-replace} is non-@code{nil}, as it normally is
1159argument means consider only occurrences that are bounded by 1162(@pxref{Replacement and Case}). A numeric argument means consider
1160word-delimiter characters. 1163only occurrences that are bounded by word-delimiter characters.
1161 1164
1162@kindex C-M-% 1165@kindex C-M-%
1163@findex query-replace-regexp 1166@findex query-replace-regexp