aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2000-09-30 15:54:24 +0000
committerGerd Moellmann <[email protected]>2000-09-30 15:54:24 +0000
commit9c99d2061c56f13145980f4bdb8ca9dc4752f516 (patch)
tree0b529126209c6520c9bef5fe5dcfc4e58492a958 /man
parent71c9ec5139c8cacdcdcc499a72f3800f1b84000a (diff)
(Other Repeating Search): Describe `how-many'
instead of `count-matches'. Say that they work on the active region in Transient Mark mode.
Diffstat (limited to 'man')
-rw-r--r--man/search.texi16
1 files changed, 9 insertions, 7 deletions
diff --git a/man/search.texi b/man/search.texi
index 98c076fd56..ee4f15f775 100644
--- a/man/search.texi
+++ b/man/search.texi
@@ -977,7 +977,7 @@ letters and @code{case-fold-search} is non-@code{nil}.
@findex list-matching-lines
@findex occur
-@findex count-matches
+@findex how-many
@findex delete-non-matching-lines
@findex delete-matching-lines
@findex flush-lines
@@ -1001,16 +1001,18 @@ moves point to the original of the chosen occurrence.
@item M-x list-matching-lines
Synonym for @kbd{M-x occur}.
-@item M-x count-matches @key{RET} @var{regexp} @key{RET}
-Print the number of matches for @var{regexp} after point.
+@item M-x how-many @key{RET} @var{regexp} @key{RET}
+Print the number of matches for @var{regexp} after point, or in the
+active region in Transient Mark mode.
@item M-x flush-lines @key{RET} @var{regexp} @key{RET}
-Delete each line that follows point and contains a match for
-@var{regexp}.
+Delete each line after point, or in the active region in Transient Mark
+mode, that contains a match for @var{regexp}.
@item M-x keep-lines @key{RET} @var{regexp} @key{RET}
-Delete each line that follows point and @emph{does not} contain a match
-for @var{regexp}.
+Delete each line that follows point, or is in the active region in
+Transient Mark mode, and @emph{does not} contain a match for
+@var{regexp}.
@end table
Searching and replacing can be performed under the control of tags