aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorRichard M. Stallman2007-08-27 03:49:17 +0000
committerRichard M. Stallman2007-08-27 03:49:17 +0000
commitc997bb25d732ebe0bbe9078fdcf3b564b3f73f7b (patch)
treea54ccccaddc738232cadc413a888602613b4732e /src/eval.c
parentb8c25b99db456f3ad81fb8866aa6bd30019a2cdb (diff)
downloademacs-c997bb25d732ebe0bbe9078fdcf3b564b3f73f7b.tar.gz
emacs-c997bb25d732ebe0bbe9078fdcf3b564b3f73f7b.zip
(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.
1345If an error happens, the first applicable handler is run. 1345If an error happens, the first applicable handler is run.
1346 1346
1347The car of a handler may be a list of condition names 1347The car of a handler may be a list of condition names
1348instead of a single condition name. 1348instead of a single condition name. Then it handles all of them.
1349 1349
1350When a handler handles an error, 1350When a handler handles an error, control returns to the `condition-case'
1351control returns to the condition-case and the handler BODY... is executed 1351and it executes the handler's BODY...
1352with VAR bound to (SIGNALED-CONDITIONS . SIGNAL-DATA). 1352with VAR bound to (SIGNALED-CONDITIONS . SIGNAL-DATA) from the error.
1353VAR may be nil; then you do not get access to the signal information. 1353(If VAR is nil, the handler can't access that information.)
1354Then the value of the last BODY form is returned from the `condition-case'
1355expression.
1354 1356
1355The value of the last BODY form is returned from the condition-case.
1356See also the function `signal' for more info. 1357See also the function `signal' for more info.
1357usage: (condition-case VAR BODYFORM &rest HANDLERS) */) 1358usage: (condition-case VAR BODYFORM &rest HANDLERS) */)
1358 (args) 1359 (args)