Mercurial > emacs
changeset 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 | 6d318f1ef31e |
children | 62b30be1a019 |
files | src/eval.c |
diffstat | 1 files changed, 7 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/eval.c Thu Oct 19 10:55:15 2000 +0000 +++ b/src/eval.c Thu Oct 19 12:02:40 2000 +0000 @@ -1126,7 +1126,8 @@ Lisp_Object val; struct catchtag c; struct handler h; - register Lisp_Object var, bodyform, handlers; + register Lisp_Object bodyform, handlers; + volatile Lisp_Object var; var = Fcar (args); bodyform = Fcar (Fcdr (args)); @@ -1480,8 +1481,8 @@ int first_string = 1; Lisp_Object error_message; - for (tail = Vdebug_ignored_errors; CONSP (tail); - tail = XCDR (tail)) + error_message = Qnil; + for (tail = Vdebug_ignored_errors; CONSP (tail); tail = XCDR (tail)) { if (STRINGP (XCAR (tail))) { @@ -1490,6 +1491,7 @@ error_message = Ferror_message_string (data); first_string = 0; } + if (fast_string_match (XCAR (tail), error_message) >= 0) return 1; } @@ -1497,8 +1499,7 @@ { Lisp_Object contail; - for (contail = conditions; CONSP (contail); - contail = XCDR (contail)) + for (contail = conditions; CONSP (contail); contail = XCDR (contail)) if (EQ (XCAR (tail), XCAR (contail))) return 1; } @@ -3111,7 +3112,7 @@ return Qnil; } -DEFUN ("backtrace-frame", Fbacktrace_frame, Sbacktrace_frame, 1, 1, "", +DEFUN ("backtrace-frame", Fbacktrace_frame, Sbacktrace_frame, 1, 1, NULL, "Return the function and arguments NFRAMES up from current execution point.\n\ If that frame has not evaluated the arguments yet (or is a special form),\n\ the value is (nil FUNCTION ARG-FORMS...).\n\