# HG changeset patch # User Richard M. Stallman # Date 1188186557 0 # Node ID 037dc4f731b28c4bcbd05de2dde7d24c3e7df631 # Parent 694abdb5f4d2e01fa88138481c5cfdcafb7dc6f9 (condition-case): Doc fix. diff -r 694abdb5f4d2 -r 037dc4f731b2 src/eval.c --- a/src/eval.c Sun Aug 26 20:51:29 2007 +0000 +++ b/src/eval.c Mon Aug 27 03:49:17 2007 +0000 @@ -1345,14 +1345,15 @@ If an error happens, the first applicable handler is run. The car of a handler may be a list of condition names -instead of a single condition name. - -When a handler handles an error, -control returns to the condition-case and the handler BODY... is executed -with VAR bound to (SIGNALED-CONDITIONS . SIGNAL-DATA). -VAR may be nil; then you do not get access to the signal information. - -The value of the last BODY form is returned from the condition-case. +instead of a single condition name. Then it handles all of them. + +When a handler handles an error, control returns to the `condition-case' +and it executes the handler's BODY... +with VAR bound to (SIGNALED-CONDITIONS . SIGNAL-DATA) from the error. +(If VAR is nil, the handler can't access that information.) +Then the value of the last BODY form is returned from the `condition-case' +expression. + See also the function `signal' for more info. usage: (condition-case VAR BODYFORM &rest HANDLERS) */) (args)