summaryrefslogtreecommitdiff
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorColin Walters <walters@gnu.org>2002-04-25 19:02:46 +0000
committerColin Walters <walters@gnu.org>2002-04-25 19:02:46 +0000
commit04fe158afa079b8da2fa39828f445ee679366edf (patch)
tree20e730c1d2f40b69be74ffeb861d4b8b541a7cef /lisp/replace.el
parentca70e62febbbb5315ba2908f5a1d189635039928 (diff)
(multi-occur-by-filename-regexp): Doc fix.
(occur-engine): Go to `point-min'.
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index d34916b0b28..1288a4591f5 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -655,7 +655,7 @@ This function acts on multiple buffers; otherwise, it is exactly like
(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
@@ -701,7 +701,6 @@ See also `multi-occur'."
(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))))
@@ -818,7 +817,7 @@ See also `multi-occur'."
(when title-face
`(face ,title-face))
`(occur-title ,buf))))
- (goto-char (point-max)))))))
+ (goto-char (point-min)))))))
;; Return the number of matches
globalcount))))