diff options
| author | Richard M. Stallman | 2007-08-27 03:49:17 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2007-08-27 03:49:17 +0000 |
| commit | c997bb25d732ebe0bbe9078fdcf3b564b3f73f7b (patch) | |
| tree | a54ccccaddc738232cadc413a888602613b4732e /src/eval.c | |
| parent | b8c25b99db456f3ad81fb8866aa6bd30019a2cdb (diff) | |
| download | emacs-c997bb25d732ebe0bbe9078fdcf3b564b3f73f7b.tar.gz emacs-c997bb25d732ebe0bbe9078fdcf3b564b3f73f7b.zip | |
(condition-case): Doc fix.
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 13 |
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. | |||
| 1345 | If an error happens, the first applicable handler is run. | 1345 | If an error happens, the first applicable handler is run. |
| 1346 | 1346 | ||
| 1347 | The car of a handler may be a list of condition names | 1347 | The car of a handler may be a list of condition names |
| 1348 | instead of a single condition name. | 1348 | instead of a single condition name. Then it handles all of them. |
| 1349 | 1349 | ||
| 1350 | When a handler handles an error, | 1350 | When a handler handles an error, control returns to the `condition-case' |
| 1351 | control returns to the condition-case and the handler BODY... is executed | 1351 | and it executes the handler's BODY... |
| 1352 | with VAR bound to (SIGNALED-CONDITIONS . SIGNAL-DATA). | 1352 | with VAR bound to (SIGNALED-CONDITIONS . SIGNAL-DATA) from the error. |
| 1353 | VAR 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.) |
| 1354 | Then the value of the last BODY form is returned from the `condition-case' | ||
| 1355 | expression. | ||
| 1354 | 1356 | ||
| 1355 | The value of the last BODY form is returned from the condition-case. | ||
| 1356 | See also the function `signal' for more info. | 1357 | See also the function `signal' for more info. |
| 1357 | usage: (condition-case VAR BODYFORM &rest HANDLERS) */) | 1358 | usage: (condition-case VAR BODYFORM &rest HANDLERS) */) |
| 1358 | (args) | 1359 | (args) |