diff options
author | Eli Zaretskii <eliz@gnu.org> | 2007-04-23 09:15:59 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2007-04-23 09:15:59 +0000 |
commit | a61d6b3bd2b7a57f236ee54384550966cafb354f (patch) | |
tree | de580980cc5b6b5e51c9f65620892076cddced61 /man/search.texi | |
parent | 8b893a3b8f0b70e27bc0ee2beeff4ea4d8ee142a (diff) | |
download | emacs-a61d6b3bd2b7a57f236ee54384550966cafb354f.tar.gz |
(Unconditional Replace, Query Replace): Add xref to "Replacement and Case".
Diffstat (limited to 'man/search.texi')
-rw-r--r-- | man/search.texi | 9 |
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. 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 @@ 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. 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 |