comparison lisp/replace.el @ 68536:4bad00cd1b68

(multi-occur-in-matching-buffers): Fix prev change.
author Richard M. Stallman <rms@gnu.org>
date Thu, 02 Feb 2006 04:20:36 +0000
parents 5e010e843834
children 3bd95f4f2941 d6f8fe3307c8
comparison
equal deleted inserted replaced
68535:6fef36718f37 68536:4bad00cd1b68
1002 (interactive 1002 (interactive
1003 (cons 1003 (cons
1004 (let* ((default (car regexp-history)) 1004 (let* ((default (car regexp-history))
1005 (input 1005 (input
1006 (read-from-minibuffer 1006 (read-from-minibuffer
1007 (if allbufs 1007 (if current-prefix-arg
1008 "List lines in buffers whose names match regexp: " 1008 "List lines in buffers whose names match regexp: "
1009 "List lines in buffers whose filenames match regexp: ") 1009 "List lines in buffers whose filenames match regexp: ")
1010 nil 1010 nil
1011 nil 1011 nil
1012 nil 1012 nil
1014 (if (equal input "") 1014 (if (equal input "")
1015 default 1015 default
1016 input)) 1016 input))
1017 (occur-read-primary-args))) 1017 (occur-read-primary-args)))
1018 (when bufregexp 1018 (when bufregexp
1019 (occur-1 regexp nlines 1019 (occur-1 regexp nil
1020 (delq nil 1020 (delq nil
1021 (mapcar (lambda (buf) 1021 (mapcar (lambda (buf)
1022 (when (if allbufs 1022 (when (if allbufs
1023 (string-match bufregexp 1023 (string-match bufregexp
1024 (buffer-name buf)) 1024 (buffer-name buf))