matches in the matches per buffer heading.
+2004-04-11 John Paul Wallington <jpw@gnu.org>
+
+ * replace.el (occur-engine): Distinguish between one and several
+ matches in the matches per buffer heading.
+
2004-04-11 Kim F. Storm <storm@cua.dk>
* ido.el (ido-confirm-unique-completion): New defcustom.
(goto-char headerpt)
(let ((beg (point))
end)
- (insert (format "%d matches for \"%s\" in buffer: %s\n"
- matches regexp (buffer-name buf)))
+ (insert (format "%d match%s for \"%s\" in buffer: %s\n"
+ matches (if (= matches 1) "" "es")
+ regexp (buffer-name buf)))
(setq end (point))
(add-text-properties beg end
(append