diff options
author | Miles Bader <miles@gnu.org> | 2007-10-09 08:52:57 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 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.tar.bz2 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. 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) |