emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r115684: Document negative argument of replacement c


From: Xue Fuqiao
Subject: [Emacs-diffs] trunk r115684: Document negative argument of replacement commands.
Date: Sun, 22 Dec 2013 05:57:40 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115684
revision-id: address@hidden
parent: address@hidden
committer: Xue Fuqiao <address@hidden>
branch nick: trunk
timestamp: Sun 2013-12-22 13:57:32 +0800
message:
  Document negative argument of replacement commands.
  
  * doc/emacs/search.texi (Special Isearch):
  (Query Replace): Document negative argument of replacement commands.
modified:
  doc/emacs/ChangeLog            changelog-20091113204419-o5vbwnq5f7feedwu-6227
  doc/emacs/search.texi          
search.texi-20091113204419-o5vbwnq5f7feedwu-6276
  etc/NEWS                       news-20100311060928-aoit31wvzf25yr1z-1
=== modified file 'doc/emacs/ChangeLog'
--- a/doc/emacs/ChangeLog       2013-12-22 05:36:29 +0000
+++ b/doc/emacs/ChangeLog       2013-12-22 05:57:32 +0000
@@ -1,6 +1,8 @@
 2013-12-22  Xue Fuqiao  <address@hidden>
 
-       * 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'.
 

=== modified file 'doc/emacs/search.texi'
--- a/doc/emacs/search.texi     2013-12-22 05:36:29 +0000
+++ b/doc/emacs/search.texi     2013-12-22 05:57:32 +0000
@@ -272,8 +272,8 @@
 @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 @address@hidden in incremental search invokes
@@ -1243,7 +1243,8 @@
 (@pxref{Unconditional Replace}).  In particular, it preserves case
 provided @code{case-replace} is address@hidden, 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

=== modified file 'etc/NEWS'
--- a/etc/NEWS  2013-12-22 05:36:29 +0000
+++ b/etc/NEWS  2013-12-22 05:57:32 +0000
@@ -627,6 +627,7 @@
 *** `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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]