Mercurial > emacs
changeset 46579:e07579b3efcc
(display-warning, warn, lwarn): Add autoload cookie.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 20 Jul 2002 22:09:46 +0000 |
parents | 374154e86bdf |
children | 2c25b46baf82 |
files | lisp/warnings.el |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/warnings.el Sat Jul 20 22:02:57 2002 +0000 +++ b/lisp/warnings.el Sat Jul 20 22:09:46 2002 +0000 @@ -162,6 +162,7 @@ ;; we return t. some-match)) +;;;###autoload (defun display-warning (group message &optional level buffer-name) "Display a warning message, MESSAGE. GROUP should be a custom group name (a symbol). @@ -236,6 +237,7 @@ (set-window-start window warning-series)) (sit-for 0))))))) +;;;###autoload (defun lwarn (group level message &rest args) "Display a warning message made from (format MESSAGE ARGS...). Aside from generating the message with `format', @@ -253,6 +255,7 @@ :warning -- suspicious data or circumstances." (display-warning group (apply 'format message args) level)) +;;;###autoload (defun warn (message &rest args) "Display a warning message made from (format MESSAGE ARGS...). Aside from generating the message with `format',