changeset 86022:26baed36c877

(Query Replace): Mention `query-replace-show-replacement'.
author Juri Linkov <juri@jurta.org>
date Sat, 10 Nov 2007 21:51:12 +0000
parents 03836e9a888b
children d72a9deca64e
files doc/emacs/search.texi
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: