Variable: warning-prefix-function
warning-prefix-function is a variable defined in warnings.el.gz.
Value
nil
Documentation
Function to generate warning prefixes.
This function, if non-nil, is called with two arguments,
the severity level and its entry in warning-levels,
and should return the entry that should actually be used.
The warnings buffer is current when this function is called
and the function can insert text in it. This text becomes
the beginning of the warning.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/warnings.el.gz
;; The autoload cookie is so that programs can bind this variable
;; safely, testing the existing value, before they call one of the
;; warnings functions.
;;;###autoload
(defvar warning-prefix-function nil
"Function to generate warning prefixes.
This function, if non-nil, is called with two arguments,
the severity level and its entry in `warning-levels',
and should return the entry that should actually be used.
The warnings buffer is current when this function is called
and the function can insert text in it. This text becomes
the beginning of the warning.")