From: Richard M. Stallman Date: Thu, 2 Feb 2006 04:20:36 +0000 (+0000) Subject: (multi-occur-in-matching-buffers): Fix prev change. X-Git-Tag: emacs-pretest-22.0.90~4443 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=689f439402b28c1bc9c31bf0d397df8ef04b5dd4;p=emacs.git (multi-occur-in-matching-buffers): Fix prev change. --- diff --git a/lisp/replace.el b/lisp/replace.el index 8a17104c599..92b4be7fd7b 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -1004,7 +1004,7 @@ See also `multi-occur'." (let* ((default (car regexp-history)) (input (read-from-minibuffer - (if allbufs + (if current-prefix-arg "List lines in buffers whose names match regexp: " "List lines in buffers whose filenames match regexp: ") nil @@ -1016,7 +1016,7 @@ See also `multi-occur'." input)) (occur-read-primary-args))) (when bufregexp - (occur-1 regexp nlines + (occur-1 regexp nil (delq nil (mapcar (lambda (buf) (when (if allbufs