summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2007-11-10 21:51:26 +0000
committerJuri Linkov <juri@jurta.org>2007-11-10 21:51:26 +0000
commit21d50ba11f58b300fa24a1f9f9faaf011b495760 (patch)
treed29376f35ef656616ebb2c045f4dd90de0463bd3
parentfe2848054d42348824e774f9d916b64b1d51e39d (diff)
downloademacs-21d50ba11f58b300fa24a1f9f9faaf011b495760.tar.gz
(Query Replace): Mention `query-replace-show-replacement'.
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/search.texi6
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 7685a3ce789..3c020fcc5e7 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-10 Paul Pogonyshev <pogonyshev@gmx.net>
+
+ * search.texi (Query Replace): Mention
+ `query-replace-show-replacement'.
+
2007-11-09 Reiner Steib <Reiner.Steib@gmx.de>
* gnus.texi, gnus-faq.texi, message.texi: Bump version to 5.10.9.
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index 1a8a6372ba2..af1b877e6a4 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -1172,7 +1172,11 @@ like @code{query-replace}.
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: