mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-05 20:43:08 +00:00
(byte-compile-cl-warn): Use `string-match'.
This commit is contained in:
parent
118861dfa8
commit
6640c250eb
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user