From 8accceac6a8467d3214e956c38481af126f8b6c1 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 21 Sep 2007 07:17:23 +0000 Subject: [PATCH] (byte-compile-warning-types): Add mapcar and make-local. --- lisp/ChangeLog | 1 + lisp/emacs-lisp/bytecomp.el | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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). -- 2.11.4.GIT