Mercurial > emacs
comparison lispref/searching.texi @ 26288:6119687f6888
Patch from rms.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 01 Nov 1999 15:52:18 +0000 |
parents | 467b88fab665 |
children | 626ae4bb4994 |
comparison
equal
deleted
inserted
replaced
26287:5a2889dedd7d | 26288:6119687f6888 |
---|---|
961 | 961 |
962 @deffn Command count-matches regexp | 962 @deffn Command count-matches regexp |
963 This function is a synonym of @code{how-many}. | 963 This function is a synonym of @code{how-many}. |
964 @end deffn | 964 @end deffn |
965 | 965 |
966 @deffn Command list-matching-lines regexp nlines | 966 @deffn Command list-matching-lines regexp &optional nlines |
967 This function is a synonym of @code{occur}. | 967 This function is a synonym of @code{occur}. |
968 Show all lines following point containing a match for @var{regexp}. | 968 Show all lines following point containing a match for @var{regexp}. |
969 Display each line with @var{nlines} lines before and after, | 969 Display each line with @var{nlines} lines before and after, |
970 or @code{-}@var{nlines} before if @var{nlines} is negative. | 970 or @code{-}@var{nlines} before if @var{nlines} is negative. |
971 @var{nlines} defaults to @code{list-matching-lines-default-context-lines}. | 971 @var{nlines} defaults to @code{list-matching-lines-default-context-lines}. |
1211 should make sure that the current buffer when you call | 1211 should make sure that the current buffer when you call |
1212 @code{match-string} is the one in which you did the searching or | 1212 @code{match-string} is the one in which you did the searching or |
1213 matching. | 1213 matching. |
1214 @end defun | 1214 @end defun |
1215 | 1215 |
1216 @defun match-string-no-properties count | 1216 @defun match-string-no-properties count &optional in-string |
1217 This function is like @code{match-string} except that the result | 1217 This function is like @code{match-string} except that the result |
1218 has no text properties. | 1218 has no text properties. |
1219 @end defun | 1219 @end defun |
1220 | 1220 |
1221 @defun match-beginning count | 1221 @defun match-beginning count |