emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/re-builder.el


From: John Paul Wallington
Subject: [Emacs-diffs] Changes to emacs/lisp/emacs-lisp/re-builder.el
Date: Fri, 09 Jul 2004 13:19:29 -0400

Index: emacs/lisp/emacs-lisp/re-builder.el
diff -c emacs/lisp/emacs-lisp/re-builder.el:1.15 
emacs/lisp/emacs-lisp/re-builder.el:1.16
*** emacs/lisp/emacs-lisp/re-builder.el:1.15    Fri May  7 00:53:56 2004
--- emacs/lisp/emacs-lisp/re-builder.el Fri Jul  9 17:16:59 2004
***************
*** 670,678 ****
                  (overlay-put overlay 'priority i)))
            (setq i (1+ i))))))
      (let ((count (if subexp submatches matches)))
!       (message"%s %smatch(es)%s"
               (if (= 0 count) "No" (int-to-string count))
               (if subexp "subexpression " "")
               (if (and reb-auto-match-limit
                        (= reb-auto-match-limit count))
                   " (limit reached)" "")))
--- 670,679 ----
                  (overlay-put overlay 'priority i)))
            (setq i (1+ i))))))
      (let ((count (if subexp submatches matches)))
!       (message"%s %smatch%s%s"
               (if (= 0 count) "No" (int-to-string count))
               (if subexp "subexpression " "")
+              (if (= 1 count) "" "es")
               (if (and reb-auto-match-limit
                        (= reb-auto-match-limit count))
                   " (limit reached)" "")))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]