From: Glenn Morris Date: Fri, 21 Sep 2007 07:17:23 +0000 (+0000) Subject: (byte-compile-warning-types): Add mapcar and make-local. X-Git-Tag: emacs-pretest-23.0.90~10762 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8accceac6a8467d3214e956c38481af126f8b6c1;p=emacs.git (byte-compile-warning-types): Add mapcar and make-local. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 348558bff1a..0f110f0a0d2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -4,6 +4,7 @@ (byte-compile-warnings-safe-p): Add `mapcar'. (byte-compile-normal-call): Add option to suppress mapcar warning. (top-level): Use mapc rather than mapcar in eval-when-compile. + (byte-compile-warning-types): Add mapcar and make-local. 2007-09-21 Stefan Monnier diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 31ee364cd2f..5a5c639f0a6 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -341,7 +341,8 @@ If it is 'byte, then only byte-level optimizations will be logged." (defconst byte-compile-warning-types '(redefine callargs free-vars unresolved - obsolete noruntime cl-functions interactive-only) + obsolete noruntime cl-functions interactive-only + make-local mapcar) "The list of warning types used when `byte-compile-warnings' is t.") (defcustom byte-compile-warnings t "*List of warnings that the byte-compiler should issue (t for all).