Variable: byte-compile-warning-types

byte-compile-warning-types is a variable defined in bytecomp.el.gz.

Value

(callargs constants docstrings docstrings-non-ascii-quotes
	  docstrings-wide docstrings-control-chars empty-body
	  free-vars ignored-return-value interactive-only lexical
	  lexical-dynamic make-local mapcar mutate-constant noruntime
	  not-unused obsolete redefine suspicious unresolved)

Documentation

The list of warning types used when byte-compile-warnings is t.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/bytecomp.el.gz
;; This needs to be autoloaded because it needs to be available to
;; Emacs before the byte compiler is loaded, otherwise Emacs will not
;; know that this variable is marked as safe until it is too late.
;; (See https://lists.gnu.org/r/emacs-devel/2018-01/msg00261.html )
;;;###autoload(put 'byte-compile-error-on-warn 'safe-local-variable 'booleanp)

(defconst byte-compile-warning-types
  '( callargs constants
     docstrings docstrings-non-ascii-quotes docstrings-wide
     docstrings-control-chars
     empty-body free-vars ignored-return-value interactive-only
     lexical lexical-dynamic make-local
     mapcar                             ; obsolete
     mutate-constant noruntime not-unused obsolete redefine suspicious
     unresolved)
  "The list of warning types used when `byte-compile-warnings' is t.")