diff options
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index f9bbf4d6464..e878f5dea5f 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -242,8 +242,7 @@ If it is 'byte, then only byte-level optimizations will be logged.") | |||
| 242 | of `message.'") | 242 | of `message.'") |
| 243 | 243 | ||
| 244 | (defconst byte-compile-warning-types '(redefine callargs free-vars unresolved)) | 244 | (defconst byte-compile-warning-types '(redefine callargs free-vars unresolved)) |
| 245 | (defvar byte-compile-warnings (if noninteractive nil | 245 | (defvar byte-compile-warnings (not noninteractive) |
| 246 | (delq 'free-vars byte-compile-warning-types)) | ||
| 247 | "*List of warnings that the byte-compiler should issue (t for all). | 246 | "*List of warnings that the byte-compiler should issue (t for all). |
| 248 | Valid elements of this list are: | 247 | Valid elements of this list are: |
| 249 | `free-vars' (references to variables not in the | 248 | `free-vars' (references to variables not in the |