[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/eval.c,v
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/src/eval.c,v |
Date: |
Tue, 09 Oct 2007 08:53:11 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Miles Bader <miles> 07/10/09 08:52:58
Index: src/eval.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/eval.c,v
retrieving revision 1.290
retrieving revision 1.291
diff -u -b -r1.290 -r1.291
--- src/eval.c 9 Oct 2007 01:39:13 -0000 1.290
+++ src/eval.c 9 Oct 2007 08:52:52 -0000 1.291
@@ -1355,14 +1355,15 @@
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)
- [Emacs-diffs] Changes to emacs/src/eval.c,v, Richard M. Stallman, 2007/10/08
- [Emacs-diffs] Changes to emacs/src/eval.c,v,
Miles Bader <=
- [Emacs-diffs] Changes to emacs/src/eval.c,v, Juanma Barranquero, 2007/10/14
- [Emacs-diffs] Changes to emacs/src/eval.c,v, Stefan Monnier, 2007/10/16
- [Emacs-diffs] Changes to emacs/src/eval.c,v, Miles Bader, 2007/10/16
- [Emacs-diffs] Changes to emacs/src/eval.c,v, Miles Bader, 2007/10/27