comparison lisp/replace.el @ 448:3078fd1074e8 r21-2-39

Import from CVS: tag r21-2-39
author cvs
date Mon, 13 Aug 2007 11:38:25 +0200
parents 576fb035e263
children e7ef97881643
comparison
equal deleted inserted replaced
447:4fc5f13f3bd3 448:3078fd1074e8
392 (defun list-matching-lines (regexp &optional nlines) 392 (defun list-matching-lines (regexp &optional nlines)
393 "Show all lines in the current buffer containing a match for REGEXP. 393 "Show all lines in the current buffer containing a match for REGEXP.
394 394
395 If a match spreads across multiple lines, all those lines are shown. 395 If a match spreads across multiple lines, all those lines are shown.
396 396
397 If variable `list-matching-lines-whole-buffer' is non-nil, the entire buffer is 397 If variable `list-matching-lines-whole-buffer' is non-nil, the entire
398 searched, otherwise search begins at point. 398 buffer is searched, otherwise search begins at point.
399 399
400 Each line is displayed with NLINES lines before and after, or -NLINES 400 Each line is displayed with NLINES lines before and after, or -NLINES
401 before if NLINES is negative. 401 before if NLINES is negative.
402 NLINES defaults to `list-matching-lines-default-context-lines'. 402 NLINES defaults to `list-matching-lines-default-context-lines'.
403 Interactively it is the prefix arg. 403 Interactively it is the prefix arg.