aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Paul Wallington2003-04-29 02:56:25 +0000
committerJohn Paul Wallington2003-04-29 02:56:25 +0000
commit6640c250eb1ab2ae2f69acfd1f0676c103323fef (patch)
tree71be84beb20928247fe5bde77a83b04ed3b11e92
parent118861dfa825e90eb38d11ac89dbaada87bd8fc9 (diff)
downloademacs-6640c250eb1ab2ae2f69acfd1f0676c103323fef.tar.gz
emacs-6640c250eb1ab2ae2f69acfd1f0676c103323fef.zip
(byte-compile-cl-warn): Use `string-match'.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/emacs-lisp/bytecomp.el4
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 00461c40769..461064fa721 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12003-04-29 John Paul Wallington <jpw@gnu.org>
2
3 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Use `string-match'.
4
12003-04-28 Dave Love <fx@gnu.org> 52003-04-28 Dave Love <fx@gnu.org>
2 6
3 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Avoid cl warnings 7 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Avoid cl warnings
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 7af112e6918..6092bea6da0 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -10,7 +10,7 @@
10 10
11;;; This version incorporates changes up to version 2.10 of the 11;;; This version incorporates changes up to version 2.10 of the
12;;; Zawinski-Furuseth compiler. 12;;; Zawinski-Furuseth compiler.
13(defconst byte-compile-version "$Revision: 2.130 $") 13(defconst byte-compile-version "$Revision: 2.131 $")
14 14
15;; This file is part of GNU Emacs. 15;; This file is part of GNU Emacs.
16 16
@@ -1272,7 +1272,7 @@ Each function's symbol gets marked with the `byte-compile-noruntime' property."
1272 ;; here than caaar and friends. 1272 ;; here than caaar and friends.
1273 (not (and (eq (get func 'byte-compile) 1273 (not (and (eq (get func 'byte-compile)
1274 'cl-byte-compile-compiler-macro) 1274 'cl-byte-compile-compiler-macro)
1275 (match-string "\\`c[ad]+r\\'" (symbol-name func))))) 1275 (string-match "\\`c[ad]+r\\'" (symbol-name func)))))
1276 (byte-compile-warn "Function `%s' from cl package called at runtime" 1276 (byte-compile-warn "Function `%s' from cl package called at runtime"
1277 func))) 1277 func)))
1278 form) 1278 form)