summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2004-06-01 23:21:55 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2004-06-01 23:21:55 +0000
commit2b47b74d0c65aec3fa71301ee92ca8274af99959 (patch)
treefef469c0c045be8be9bbe416443aa0e155651a50 /src
parent9dbf2cd61677a6819dd2f4973c18b35c185b841e (diff)
downloademacs-2b47b74d0c65aec3fa71301ee92ca8274af99959.tar.gz
(Fcondition_case): Fix usage. Simplify.
Diffstat (limited to 'src')
-rw-r--r--src/eval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eval.c b/src/eval.c
index 921a7533a60..e1da1def446 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1220,7 +1220,7 @@ VAR may be nil; then you do not get access to the signal information.
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 HANDLERS...) */)
+usage: (condition-case VAR BODYFORM &rest HANDLERS) */)
(args)
Lisp_Object args;
{
@@ -1235,10 +1235,10 @@ usage: (condition-case VAR BODYFORM HANDLERS...) */)
handlers = Fcdr (Fcdr (args));
CHECK_SYMBOL (var);
- for (val = handlers; ! NILP (val); val = Fcdr (val))
+ for (val = handlers; CONSP (val); val = XCDR (val))
{
Lisp_Object tem;
- tem = Fcar (val);
+ tem = XCAR (val);
if (! (NILP (tem)
|| (CONSP (tem)
&& (SYMBOLP (XCAR (tem))