Variable: warning-suppress-types

warning-suppress-types is a customizable variable defined in warnings.el.gz.

Value

nil

Documentation

List of warning types not to display immediately.

If any element of this list matches the TYPE argument to display-warning, the warning is logged nonetheless, but the warnings buffer is not immediately displayed. The element must match an initial segment of the list TYPE. Thus, (foo bar) as an element matches (foo bar) or (foo bar ANYTHING...) as TYPE. If TYPE is a symbol FOO, that is equivalent to the list (FOO), so only the element (FOO) will match it. See also warning-suppress-log-types.

This variable was added, or its default value changed, in Emacs 22.1.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/warnings.el.gz
(defcustom warning-suppress-types nil
  "List of warning types not to display immediately.
If any element of this list matches the TYPE argument to `display-warning',
the warning is logged nonetheless, but the warnings buffer is
not immediately displayed.
The element must match an initial segment of the list TYPE.
Thus, (foo bar) as an element matches (foo bar)
or (foo bar ANYTHING...) as TYPE.
If TYPE is a symbol FOO, that is equivalent to the list (FOO),
so only the element (FOO) will match it.
See also `warning-suppress-log-types'."
  :type '(repeat (repeat symbol))
  :version "22.1")