diff options
| author | Miles Bader | 2007-10-09 08:52:57 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-10-09 08:52:57 +0000 |
| commit | 1af74d06e5bdafad9d629d2ed729c5d743cfaf0f (patch) | |
| tree | 0360965ec0ad2736ffee01cce4f040c6b0a99133 /src/eval.c | |
| parent | eceb3266a1f66a0034954aa82efbb20a5be959f8 (diff) | |
| parent | 4b70e299ef66906fd285198003c72a1439d1f252 (diff) | |
| download | emacs-1af74d06e5bdafad9d629d2ed729c5d743cfaf0f.tar.gz emacs-1af74d06e5bdafad9d629d2ed729c5d743cfaf0f.zip | |
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
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 8a499ec3851..77abe5046db 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -1355,14 +1355,15 @@ if CONDITION-NAME is one of the error's condition names. | |||
| 1355 | If an error happens, the first applicable handler is run. | 1355 | If an error happens, the first applicable handler is run. |
| 1356 | 1356 | ||
| 1357 | The car of a handler may be a list of condition names | 1357 | The car of a handler may be a list of condition names |
| 1358 | instead of a single condition name. | 1358 | instead of a single condition name. Then it handles all of them. |
| 1359 | 1359 | ||
| 1360 | When a handler handles an error, | 1360 | When a handler handles an error, control returns to the `condition-case' |
| 1361 | control returns to the condition-case and the handler BODY... is executed | 1361 | and it executes the handler's BODY... |
| 1362 | with VAR bound to (SIGNALED-CONDITIONS . SIGNAL-DATA). | 1362 | with VAR bound to (SIGNALED-CONDITIONS . SIGNAL-DATA) from the error. |
| 1363 | VAR may be nil; then you do not get access to the signal information. | 1363 | (If VAR is nil, the handler can't access that information.) |
| 1364 | Then the value of the last BODY form is returned from the `condition-case' | ||
| 1365 | expression. | ||
| 1364 | 1366 | ||
| 1365 | The value of the last BODY form is returned from the condition-case. | ||
| 1366 | See also the function `signal' for more info. | 1367 | See also the function `signal' for more info. |
| 1367 | usage: (condition-case VAR BODYFORM &rest HANDLERS) */) | 1368 | usage: (condition-case VAR BODYFORM &rest HANDLERS) */) |
| 1368 | (args) | 1369 | (args) |