Commit 6640c250 authored by John Paul Wallington's avatar John Paul Wallington
Browse files

(byte-compile-cl-warn): Use `string-match'.

parent 118861df
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
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment