Fix message of multi-line occur regexps and multi-buffer header lines.
authorJuri Linkov <juri@jurta.org>
Sun, 21 Mar 2010 10:52:51 +0000 (12:52 +0200)
committerJuri Linkov <juri@jurta.org>
Sun, 21 Mar 2010 10:52:51 +0000 (12:52 +0200)
commitd66ecdbb4ac22a85e63af7f5cda3eac007e3abd3
treeaf03e224d8f8c09e2984851361178bbf8c54e14b
parent3613edce52c791a51e797350df513f719c7de941
Fix message of multi-line occur regexps and multi-buffer header lines.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html

* replace.el (occur-1): Don't display regexp if it is longer
than window-width.  Use `query-replace-descr' to display regexp.
(occur-engine): Don't display regexp in the buffer header for
multi-buffer occur.  Display a separate header line with total
match count and regexp for multi-buffer occur.
Use `query-replace-descr' to display regexp.
lisp/ChangeLog
lisp/replace.el