aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorMiles Bader2007-10-09 08:52:57 +0000
committerMiles Bader2007-10-09 08:52:57 +0000
commit1af74d06e5bdafad9d629d2ed729c5d743cfaf0f (patch)
tree0360965ec0ad2736ffee01cce4f040c6b0a99133 /src/eval.c
parenteceb3266a1f66a0034954aa82efbb20a5be959f8 (diff)
parent4b70e299ef66906fd285198003c72a1439d1f252 (diff)
downloademacs-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.c13
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.
1355If an error happens, the first applicable handler is run. 1355If an error happens, the first applicable handler is run.
1356 1356
1357The car of a handler may be a list of condition names 1357The car of a handler may be a list of condition names
1358instead of a single condition name. 1358instead of a single condition name. Then it handles all of them.
1359 1359
1360When a handler handles an error, 1360When a handler handles an error, control returns to the `condition-case'
1361control returns to the condition-case and the handler BODY... is executed 1361and it executes the handler's BODY...
1362with VAR bound to (SIGNALED-CONDITIONS . SIGNAL-DATA). 1362with VAR bound to (SIGNALED-CONDITIONS . SIGNAL-DATA) from the error.
1363VAR 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.)
1364Then the value of the last BODY form is returned from the `condition-case'
1365expression.
1364 1366
1365The value of the last BODY form is returned from the condition-case.
1366See also the function `signal' for more info. 1367See also the function `signal' for more info.
1367usage: (condition-case VAR BODYFORM &rest HANDLERS) */) 1368usage: (condition-case VAR BODYFORM &rest HANDLERS) */)
1368 (args) 1369 (args)