Function: warn
warn is an autoloaded and byte-compiled function defined in
warnings.el.gz.
Signature
(warn MESSAGE &rest ARGS)
Documentation
Display a warning message made from (format-message MESSAGE ARGS...).
Aside from generating the message with format-message,
this is equivalent to display-warning, using
emacs as the type and :warning as the level.
Probably introduced at or before Emacs version 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/warnings.el.gz
;;;###autoload
(defun warn (message &rest args)
"Display a warning message made from (format-message MESSAGE ARGS...).
Aside from generating the message with `format-message',
this is equivalent to `display-warning', using
`emacs' as the type and `:warning' as the level."
(display-warning 'emacs (apply #'format-message message args)))