/[emacs]/emacs/lisp/warnings.el
ViewVC logotype

Diff of /emacs/lisp/warnings.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by rms, Wed Jul 24 03:54:58 2002 UTC revision 1.5 by lektu, Fri Jul 26 07:08:58 2002 UTC
# Line 249  See also `warning-series', `warning-pref Line 249  See also `warning-series', `warning-pref
249  (defun lwarn (group level message &rest args)  (defun lwarn (group level message &rest args)
250    "Display a warning message made from (format MESSAGE ARGS...).    "Display a warning message made from (format MESSAGE ARGS...).
251  Aside from generating the message with `format',  Aside from generating the message with `format',
252  this is equivalent to `display-message'.  this is equivalent to `display-warning'.
253    
254  GROUP should be a custom group name (a symbol).  GROUP should be a custom group name (a symbol).
255  or else a list of symbols whose first element is a custom group name.  or else a list of symbols whose first element is a custom group name.
# Line 267  LEVEL should be either :warning, :error, Line 267  LEVEL should be either :warning, :error,
267  (defun warn (message &rest args)  (defun warn (message &rest args)
268    "Display a warning message made from (format MESSAGE ARGS...).    "Display a warning message made from (format MESSAGE ARGS...).
269  Aside from generating the message with `format',  Aside from generating the message with `format',
270  this is equivalent to `display-message', using  this is equivalent to `display-warning', using
271  `emacs' as the group and `:warning' as the level."  `emacs' as the group and `:warning' as the level."
272    (display-warning 'emacs (apply 'format message args)))    (display-warning 'emacs (apply 'format message args)))
273    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26