(occur-1 regexp nlines bufs))
(defun multi-occur-by-filename-regexp (bufregexp regexp &optional nlines)
- "Show all lines in buffers containing REGEXP, named by BUFREGEXP.
+ "Show all lines matching REGEXP in buffers named by BUFREGEXP.
See also `multi-occur'."
(interactive
(cons
(if (> count 0)
(display-buffer occur-buf)
(kill-buffer occur-buf)))
- (goto-char (point-min))
(setq occur-revert-properties (list regexp nlines bufs)
buffer-read-only t))))
(when title-face
`(face ,title-face))
`(occur-title ,buf))))
- (goto-char (point-max)))))))
+ (goto-char (point-min)))))))
;; Return the number of matches
globalcount))))