2013-12-22 Xue Fuqiao <xfq.free@gmail.com>
- * search.texi (Symbol Search): Document `isearch-forward-symbol-at-point'.
+ * search.texi (Special Isearch):
+ (Query Replace): Document negative argument of replacement commands.
+ (Symbol Search): Document `isearch-forward-symbol-at-point'.
* files.texi (File Conveniences): Document `image-next-file' and `image-previous-file'.
@kindex M-% @r{(Incremental search)}
Typing @kbd{M-%} in incremental search invokes @code{query-replace}
or @code{query-replace-regexp} (depending on search mode) with the
-current search string used as the string to replace. @xref{Query
-Replace}.
+current search string used as the string to replace. A negative
+prefix argument means to replace backward. @xref{Query Replace}.
@kindex M-TAB @r{(Incremental search)}
Typing @kbd{M-@key{TAB}} in incremental search invokes
(@pxref{Unconditional Replace}). In particular, it preserves case
provided @code{case-replace} is non-@code{nil}, as it normally is
(@pxref{Replacement and Case}). A numeric argument means to consider
-only occurrences that are bounded by word-delimiter characters.
+only occurrences that are bounded by word-delimiter characters. A
+negative prefix argument replaces backward.
@kindex C-M-%
@findex query-replace-regexp
*** `query-replace' skips invisible text when `search-invisible' is nil,
and opens overlays with hidden text when `search-invisible' is `open'.
++++
*** A negative prefix arg of replacement commands replaces backward.
`M-- M-%' replaces a string backward, `M-- C-M-%' replaces a regexp
backward, `M-s w words M-- M-%' replaces a sequence of words backward.