Variable: elint-ignored-warnings
elint-ignored-warnings is a customizable variable defined in
elint.el.gz.
Value
nil
Documentation
If non-nil, a list of issue types that Elint should ignore.
This is useful if Elint has trouble understanding your code and
you need to suppress lots of spurious warnings. The valid list elements
are as follows, and suppress messages about the indicated features:
undefined-functions - calls to unknown functions
unbound-reference - reference to unknown variables
unbound-assignment - assignment to unknown variables
macro-expansions - failure to expand macros
empty-let - let-bindings with empty variable lists
This variable was added, or its default value changed, in Emacs 23.2.
Probably introduced at or before Emacs version 23.2.
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/elint.el.gz
(defcustom elint-ignored-warnings nil
"If non-nil, a list of issue types that Elint should ignore.
This is useful if Elint has trouble understanding your code and
you need to suppress lots of spurious warnings. The valid list elements
are as follows, and suppress messages about the indicated features:
undefined-functions - calls to unknown functions
unbound-reference - reference to unknown variables
unbound-assignment - assignment to unknown variables
macro-expansions - failure to expand macros
empty-let - let-bindings with empty variable lists"
:type '(choice (const :tag "Don't suppress any warnings" nil)
(repeat :tag "List of issues to ignore"
(choice (const :tag "Calls to unknown functions"
undefined-functions)
(const :tag "Reference to unknown variables"
unbound-reference)
(const :tag "Assignment to unknown variables"
unbound-assignment)
(const :tag "Failure to expand macros"
macro-expansion)
(const :tag "Let-binding with empty varlist"
empty-let))))
:safe (lambda (value) (or (null value)
(and (listp value)
(equal value
(mapcar
(lambda (e)
(if (memq e
'(undefined-functions
unbound-reference
unbound-assignment
macro-expansion
empty-let))
e))
value)))))
:version "23.2"
:group 'elint)