# HG changeset patch # User Stefan Monnier # Date 1086132115 0 # Node ID 7fd80a9c338d408923c168e220093d5fb709ac63 # Parent 83ecae86dde66f8fa6d3109671f2109928bfb749 (Fcondition_case): Fix usage. Simplify. diff -r 83ecae86dde6 -r 7fd80a9c338d src/eval.c --- a/src/eval.c Tue Jun 01 23:18:25 2004 +0000 +++ b/src/eval.c Tue Jun 01 23:21:55 2004 +0000 @@ -1220,7 +1220,7 @@ 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 @@ 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))