# HG changeset patch # User Eli Zaretskii # Date 1177319759 0 # Node ID 1e02a80ad0903e9be8b3cc6ca67af2c85fca0a9e # Parent e9b4790481bc039747343feb3f810068582231cd (Unconditional Replace, Query Replace): Add xref to "Replacement and Case". diff -r e9b4790481bc -r 1e02a80ad090 man/search.texi --- a/man/search.texi Mon Apr 23 09:02:08 2007 +0000 +++ b/man/search.texi Mon Apr 23 09:15:59 2007 +0000 @@ -1002,6 +1002,9 @@ A numeric argument restricts replacement to matches that are surrounded by word boundaries. The argument's value doesn't matter. + @xref{Replacement and Case}, for details about case-sensitivity in +replace commands. + 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: @example @@ -1155,9 +1158,9 @@ 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. A numeric -argument means consider only occurrences that are bounded by -word-delimiter characters. +@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. @kindex C-M-% @findex query-replace-regexp