mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-19 01:10:57 -08:00
Document negative argument of replacement commands.
* doc/emacs/search.texi (Special Isearch): (Query Replace): Document negative argument of replacement commands.
This commit is contained in:
parent
07e9eaa2dc
commit
57b837ab5f
3 changed files with 8 additions and 4 deletions
|
|
@ -1,6 +1,8 @@
|
|||
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'.
|
||||
|
||||
|
|
|
|||
|
|
@ -272,8 +272,8 @@ current buffer afterwards.
|
|||
@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
|
||||
|
|
@ -1243,7 +1243,8 @@ occurrence and asks you whether to replace it. Aside from querying,
|
|||
(@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
|
||||
|
|
|
|||
1
etc/NEWS
1
etc/NEWS
|
|
@ -627,6 +627,7 @@ when it's nil).
|
|||
*** `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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue