Mercurial > emacs
comparison src/eval.c @ 32657:a0c4d9cbadcd
(skip_debugger): Prevent a compiler warning.
(Fcondition_case): Likewise.
(Fbacktrace_frame): Use a null interactive spec.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 19 Oct 2000 12:02:40 +0000 |
parents | 7dc36953bf54 |
children | f1fefcb74da7 |
comparison
equal
deleted
inserted
replaced
32656:6d318f1ef31e | 32657:a0c4d9cbadcd |
---|---|
1124 Lisp_Object args; | 1124 Lisp_Object args; |
1125 { | 1125 { |
1126 Lisp_Object val; | 1126 Lisp_Object val; |
1127 struct catchtag c; | 1127 struct catchtag c; |
1128 struct handler h; | 1128 struct handler h; |
1129 register Lisp_Object var, bodyform, handlers; | 1129 register Lisp_Object bodyform, handlers; |
1130 volatile Lisp_Object var; | |
1130 | 1131 |
1131 var = Fcar (args); | 1132 var = Fcar (args); |
1132 bodyform = Fcar (Fcdr (args)); | 1133 bodyform = Fcar (Fcdr (args)); |
1133 handlers = Fcdr (Fcdr (args)); | 1134 handlers = Fcdr (Fcdr (args)); |
1134 CHECK_SYMBOL (var, 0); | 1135 CHECK_SYMBOL (var, 0); |
1478 { | 1479 { |
1479 Lisp_Object tail; | 1480 Lisp_Object tail; |
1480 int first_string = 1; | 1481 int first_string = 1; |
1481 Lisp_Object error_message; | 1482 Lisp_Object error_message; |
1482 | 1483 |
1483 for (tail = Vdebug_ignored_errors; CONSP (tail); | 1484 error_message = Qnil; |
1484 tail = XCDR (tail)) | 1485 for (tail = Vdebug_ignored_errors; CONSP (tail); tail = XCDR (tail)) |
1485 { | 1486 { |
1486 if (STRINGP (XCAR (tail))) | 1487 if (STRINGP (XCAR (tail))) |
1487 { | 1488 { |
1488 if (first_string) | 1489 if (first_string) |
1489 { | 1490 { |
1490 error_message = Ferror_message_string (data); | 1491 error_message = Ferror_message_string (data); |
1491 first_string = 0; | 1492 first_string = 0; |
1492 } | 1493 } |
1494 | |
1493 if (fast_string_match (XCAR (tail), error_message) >= 0) | 1495 if (fast_string_match (XCAR (tail), error_message) >= 0) |
1494 return 1; | 1496 return 1; |
1495 } | 1497 } |
1496 else | 1498 else |
1497 { | 1499 { |
1498 Lisp_Object contail; | 1500 Lisp_Object contail; |
1499 | 1501 |
1500 for (contail = conditions; CONSP (contail); | 1502 for (contail = conditions; CONSP (contail); contail = XCDR (contail)) |
1501 contail = XCDR (contail)) | |
1502 if (EQ (XCAR (tail), XCAR (contail))) | 1503 if (EQ (XCAR (tail), XCAR (contail))) |
1503 return 1; | 1504 return 1; |
1504 } | 1505 } |
1505 } | 1506 } |
1506 | 1507 |
3109 Vprint_level = Qnil; | 3110 Vprint_level = Qnil; |
3110 UNGCPRO; | 3111 UNGCPRO; |
3111 return Qnil; | 3112 return Qnil; |
3112 } | 3113 } |
3113 | 3114 |
3114 DEFUN ("backtrace-frame", Fbacktrace_frame, Sbacktrace_frame, 1, 1, "", | 3115 DEFUN ("backtrace-frame", Fbacktrace_frame, Sbacktrace_frame, 1, 1, NULL, |
3115 "Return the function and arguments NFRAMES up from current execution point.\n\ | 3116 "Return the function and arguments NFRAMES up from current execution point.\n\ |
3116 If that frame has not evaluated the arguments yet (or is a special form),\n\ | 3117 If that frame has not evaluated the arguments yet (or is a special form),\n\ |
3117 the value is (nil FUNCTION ARG-FORMS...).\n\ | 3118 the value is (nil FUNCTION ARG-FORMS...).\n\ |
3118 If that frame has evaluated its arguments and called its function already,\n\ | 3119 If that frame has evaluated its arguments and called its function already,\n\ |
3119 the value is (t FUNCTION ARG-VALUES...).\n\ | 3120 the value is (t FUNCTION ARG-VALUES...).\n\ |