diff options
author | Colin Walters <walters@gnu.org> | 2002-04-24 21:06:01 +0000 |
---|---|---|
committer | Colin Walters <walters@gnu.org> | 2002-04-24 21:06:01 +0000 |
commit | 8cab3b9aae967fed0786c2c0fd62630530fa4ea1 (patch) | |
tree | 36f2333a8bf415aa7d7c07b6ce93e3cb80aa7e5c /man/search.texi | |
parent | 81f755ae6e2edbdd98611b0540ac7e7d05a51fdd (diff) | |
download | emacs-8cab3b9aae967fed0786c2c0fd62630530fa4ea1.tar.gz |
Document `multi-occur' and `multi-occur-by-filename-regexp'.
Diffstat (limited to 'man/search.texi')
-rw-r--r-- | man/search.texi | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/man/search.texi b/man/search.texi index 1739f93bc8d..bdaa3bababd 100644 --- a/man/search.texi +++ b/man/search.texi @@ -1035,11 +1035,14 @@ copy, or link files by replacing regexp matches in file names. Here are some other commands that find matches for a regular expression. They all ignore case in matching, if the pattern contains no upper-case letters and @code{case-fold-search} is non-@code{nil}. -Aside from @code{occur}, all operate on the text from point to the end -of the buffer, or on the active region in Transient Mark mode. +Aside from @code{occur} and its variants, all operate on the text from +point to the end of the buffer, or on the active region in Transient +Mark mode. @findex list-matching-lines @findex occur +@findex multi-occur +@findex multi-occur-by-filename-regexp @findex how-many @findex delete-non-matching-lines @findex delete-matching-lines @@ -1064,6 +1067,14 @@ moves point to the original of the chosen occurrence. @item M-x list-matching-lines Synonym for @kbd{M-x occur}. +@item M-x multi-occur @key{RET} @var{buffers} @key{RET} @var{regexp} @key{RET} +This function is just like `occur', except it is able to search +through multiple buffers. + +@item M-x multi-occur-by-filename-regexp @key{RET} @var{bufregexp} @key{RET} @var{regexp} @key{RET} +This function is similar to `multi-occur', except the buffers to +search are specified by a regexp on their filename. + @item M-x how-many @key{RET} @var{regexp} @key{RET} Print the number of matches for @var{regexp} that exist in the buffer after point. In Transient Mark mode, if the region is active, the |