]> code.delx.au - gnu-emacs/blobdiff - lisp/emacs-lisp/bytecomp.el
* bytecomp.el (byte-compile-cl-file-p): Only "cl.el" counts as cl these days.
[gnu-emacs] / lisp / emacs-lisp / bytecomp.el
index 7a2297501786256aeb4b1c028e7319296bf57b16..d49e56bd2ba9bc97a3e7f01fe458f45fc2356afe 100644 (file)
@@ -846,7 +846,7 @@ CONST2 may be evaluated multiple times."
 (defun byte-compile-cl-file-p (file)
   "Return non-nil if FILE is one of the CL files."
   (and (stringp file)
-       (string-match "^cl\\>" (file-name-nondirectory file))))
+       (string-match "^cl\\.el" (file-name-nondirectory file))))
 
 (defun byte-compile-eval (form)
   "Eval FORM and mark the functions defined therein.