summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2007-08-27 03:49:17 +0000
committerRichard M. Stallman <rms@gnu.org>2007-08-27 03:49:17 +0000
commitc997bb25d732ebe0bbe9078fdcf3b564b3f73f7b (patch)
treea54ccccaddc738232cadc413a888602613b4732e /src/eval.c
parentb8c25b99db456f3ad81fb8866aa6bd30019a2cdb (diff)
downloademacs-c997bb25d732ebe0bbe9078fdcf3b564b3f73f7b.tar.gz
(condition-case): Doc fix.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c13
1 files changed, 7 insertions, 6 deletions
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)