aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/search.texi7
-rw-r--r--etc/NEWS1
3 files changed, 8 insertions, 4 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index fbc7da4b1c7..2af2d5daa70 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,6 +1,8 @@
12013-12-22 Xue Fuqiao <xfq.free@gmail.com> 12013-12-22 Xue Fuqiao <xfq.free@gmail.com>
2 2
3 * search.texi (Symbol Search): Document `isearch-forward-symbol-at-point'. 3 * search.texi (Special Isearch):
4 (Query Replace): Document negative argument of replacement commands.
5 (Symbol Search): Document `isearch-forward-symbol-at-point'.
4 6
5 * files.texi (File Conveniences): Document `image-next-file' and `image-previous-file'. 7 * files.texi (File Conveniences): Document `image-next-file' and `image-previous-file'.
6 8
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index 16eed9b16dc..a7c40000233 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -272,8 +272,8 @@ current buffer afterwards.
272@kindex M-% @r{(Incremental search)} 272@kindex M-% @r{(Incremental search)}
273 Typing @kbd{M-%} in incremental search invokes @code{query-replace} 273 Typing @kbd{M-%} in incremental search invokes @code{query-replace}
274or @code{query-replace-regexp} (depending on search mode) with the 274or @code{query-replace-regexp} (depending on search mode) with the
275current search string used as the string to replace. @xref{Query 275current search string used as the string to replace. A negative
276Replace}. 276prefix argument means to replace backward. @xref{Query Replace}.
277 277
278@kindex M-TAB @r{(Incremental search)} 278@kindex M-TAB @r{(Incremental search)}
279 Typing @kbd{M-@key{TAB}} in incremental search invokes 279 Typing @kbd{M-@key{TAB}} in incremental search invokes
@@ -1243,7 +1243,8 @@ occurrence and asks you whether to replace it. Aside from querying,
1243(@pxref{Unconditional Replace}). In particular, it preserves case 1243(@pxref{Unconditional Replace}). In particular, it preserves case
1244provided @code{case-replace} is non-@code{nil}, as it normally is 1244provided @code{case-replace} is non-@code{nil}, as it normally is
1245(@pxref{Replacement and Case}). A numeric argument means to consider 1245(@pxref{Replacement and Case}). A numeric argument means to consider
1246only occurrences that are bounded by word-delimiter characters. 1246only occurrences that are bounded by word-delimiter characters. A
1247negative prefix argument replaces backward.
1247 1248
1248@kindex C-M-% 1249@kindex C-M-%
1249@findex query-replace-regexp 1250@findex query-replace-regexp
diff --git a/etc/NEWS b/etc/NEWS
index c52e596e56e..a6eedaf1b47 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -627,6 +627,7 @@ when it's nil).
627*** `query-replace' skips invisible text when `search-invisible' is nil, 627*** `query-replace' skips invisible text when `search-invisible' is nil,
628and opens overlays with hidden text when `search-invisible' is `open'. 628and opens overlays with hidden text when `search-invisible' is `open'.
629 629
630+++
630*** A negative prefix arg of replacement commands replaces backward. 631*** A negative prefix arg of replacement commands replaces backward.
631`M-- M-%' replaces a string backward, `M-- C-M-%' replaces a regexp 632`M-- M-%' replaces a string backward, `M-- C-M-%' replaces a regexp
632backward, `M-s w words M-- M-%' replaces a sequence of words backward. 633backward, `M-s w words M-- M-%' replaces a sequence of words backward.