aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorXue Fuqiao2013-12-22 13:57:32 +0800
committerXue Fuqiao2013-12-22 13:57:32 +0800
commit57b837ab5f6d61bb52270b2bbc25bcf517d4e345 (patch)
tree2eb95658704c9633f5612a612139c62e1574e5bb /etc
parent07e9eaa2dc08892075f110a30c768a7751da083c (diff)
downloademacs-57b837ab5f6d61bb52270b2bbc25bcf517d4e345.tar.gz
emacs-57b837ab5f6d61bb52270b2bbc25bcf517d4e345.zip
Document negative argument of replacement commands.
* doc/emacs/search.texi (Special Isearch): (Query Replace): Document negative argument of replacement commands.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS1
1 files changed, 1 insertions, 0 deletions
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.