comparison lisp/replace.el @ 369:1d62742628b6 r21-1-14

Import from CVS: tag r21-1-14
author cvs
date Mon, 13 Aug 2007 11:01:51 +0200
parents 182f72e8cd0d
children cc15677e0335
comparison
equal deleted inserted replaced
368:397a7324211a 369:1d62742628b6
375 (defun list-matching-lines (regexp &optional nlines) 375 (defun list-matching-lines (regexp &optional nlines)
376 "Show all lines in the current buffer containing a match for REGEXP. 376 "Show all lines in the current buffer containing a match for REGEXP.
377 377
378 If a match spreads across multiple lines, all those lines are shown. 378 If a match spreads across multiple lines, all those lines are shown.
379 379
380 If variable `list-matching-lines-whole-buffer' is non-nil, the entire buffer is 380 If variable `list-matching-lines-whole-buffer' is non-nil, the entire
381 searched, otherwise search begins at point. 381 buffer is searched, otherwise search begins at point.
382 382
383 Each line is displayed with NLINES lines before and after, or -NLINES 383 Each line is displayed with NLINES lines before and after, or -NLINES
384 before if NLINES is negative. 384 before if NLINES is negative.
385 NLINES defaults to `list-matching-lines-default-context-lines'. 385 NLINES defaults to `list-matching-lines-default-context-lines'.
386 Interactively it is the prefix arg. 386 Interactively it is the prefix arg.