From: Richard M. Stallman Date: Mon, 27 Aug 2007 03:49:17 +0000 (+0000) Subject: (condition-case): Doc fix. X-Git-Tag: emacs-pretest-22.1.90~902 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c997bb25d732ebe0bbe9078fdcf3b564b3f73f7b;p=emacs.git (condition-case): Doc fix. --- diff --git a/src/eval.c b/src/eval.c index 026a3375589..ef789ef9454 100644 --- a/src/eval.c +++ b/src/eval.c @@ -1345,14 +1345,15 @@ if CONDITION-NAME is one of the error's condition names. 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. +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 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. +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. -The value of the last BODY form is returned from the condition-case. See also the function `signal' for more info. usage: (condition-case VAR BODYFORM &rest HANDLERS) */) (args)