# HG changeset patch # User Juri Linkov # Date 1194731472 0 # Node ID 26baed36c87716228c80c6817d950786e6dc944f # Parent 03836e9a888b609244ad84c8f2ffe478afa6b731 (Query Replace): Mention `query-replace-show-replacement'. diff -r 03836e9a888b -r 26baed36c877 doc/emacs/search.texi --- a/doc/emacs/search.texi Sat Nov 10 21:50:49 2007 +0000 +++ b/doc/emacs/search.texi Sat Nov 10 21:51:12 2007 +0000 @@ -1172,7 +1172,11 @@ These commands highlight the current match using the face @code{query-replace}. They highlight other matches using @code{lazy-highlight} just like incremental search (@pxref{Incremental -Search}). +Search}). By default, @code{query-replace-regexp} will show +substituted replacement string for the current match in the +minibuffer. If you want to keep special sequences @samp{\&} and +@samp{\@var{n}} unexpanded, customize +@code{query-replace-show-replacement} variable. The characters you can type when you are shown a match for the string or regexp are: