]> git.eshelyaron.com Git - emacs.git/commitdiff
(byte-compile-cl-warn): Use `string-match'.
authorJohn Paul Wallington <jpw@pobox.com>
Tue, 29 Apr 2003 02:56:25 +0000 (02:56 +0000)
committerJohn Paul Wallington <jpw@pobox.com>
Tue, 29 Apr 2003 02:56:25 +0000 (02:56 +0000)
lisp/ChangeLog
lisp/emacs-lisp/bytecomp.el

index 00461c407695224df3c8d99ee8e0626784abe2dd..461064fa7210eb6b4a00687feb1490312a4f6cbc 100644 (file)
@@ -1,3 +1,7 @@
+2003-04-29  John Paul Wallington  <jpw@gnu.org>
+
+       * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Use `string-match'.
+
 2003-04-28  Dave Love  <fx@gnu.org>
 
        * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Avoid cl warnings
index 7af112e6918f295f31b9e6b58a1251ca8f5bf897..6092bea6da05c9677b747ed36150cf5a1651507d 100644 (file)
@@ -10,7 +10,7 @@
 
 ;;; This version incorporates changes up to version 2.10 of the
 ;;; Zawinski-Furuseth compiler.
-(defconst byte-compile-version "$Revision: 2.130 $")
+(defconst byte-compile-version "$Revision: 2.131 $")
 
 ;; This file is part of GNU Emacs.
 
@@ -1272,7 +1272,7 @@ Each function's symbol gets marked with the `byte-compile-noruntime' property."
             ;; here than caaar and friends.
             (not (and (eq (get func 'byte-compile)
                           'cl-byte-compile-compiler-macro)
-                      (match-string "\\`c[ad]+r\\'" (symbol-name func)))))
+                      (string-match "\\`c[ad]+r\\'" (symbol-name func)))))
        (byte-compile-warn "Function `%s' from cl package called at runtime"
                           func)))
   form)