Variable: warning-levels
warning-levels is a variable defined in warnings.el.gz.
Value
((:emergency "Emergency%s: " ding) (:error "Error%s: ")
(:warning "Warning%s: ") (:debug "Debug%s: "))
Documentation
List of severity level definitions for display-warning.
Each element looks like (LEVEL STRING FUNCTION) and
defines LEVEL as a severity level. STRING specifies the
description of this level. STRING should use %s to
specify where to put the warning type information,
or it can omit the %s so as not to include that information.
The optional FUNCTION, if non-nil, is a function to call with no arguments, to get the user's attention.
The standard levels are :emergency, :error, :warning and :debug.
See display-warning for documentation of their meanings.
Level :debug is ignored by default (see warning-minimum-level).
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/warnings.el.gz
(defvar warning-levels
'((:emergency "Emergency%s: " ding)
(:error "Error%s: ")
(:warning "Warning%s: ")
(:debug "Debug%s: "))
"List of severity level definitions for `display-warning'.
Each element looks like (LEVEL STRING FUNCTION) and
defines LEVEL as a severity level. STRING specifies the
description of this level. STRING should use `%s' to
specify where to put the warning type information,
or it can omit the `%s' so as not to include that information.
The optional FUNCTION, if non-nil, is a function to call
with no arguments, to get the user's attention.
The standard levels are :emergency, :error, :warning and :debug.
See `display-warning' for documentation of their meanings.
Level :debug is ignored by default (see `warning-minimum-level').")