diff options
| author | Paul Eggert | 2011-03-16 00:28:57 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-16 00:28:57 -0700 |
| commit | 475545b50099448132747e79b70bbb4199559d09 (patch) | |
| tree | 79c592b60807f1059503d26fe4a978569d656e25 /src/eval.c | |
| parent | b0e80955879267569ee146c03ae0d5a8e7e041a5 (diff) | |
| download | emacs-475545b50099448132747e79b70bbb4199559d09.tar.gz emacs-475545b50099448132747e79b70bbb4199559d09.zip | |
* eval.c (call_debugger, do_debug_on_call, grow_specpdl): Now static.
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/eval.c b/src/eval.c index d0effc755a2..f9ed8712eb3 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -158,7 +158,7 @@ restore_stack_limits (Lisp_Object data) | |||
| 158 | 158 | ||
| 159 | /* Call the Lisp debugger, giving it argument ARG. */ | 159 | /* Call the Lisp debugger, giving it argument ARG. */ |
| 160 | 160 | ||
| 161 | Lisp_Object | 161 | static Lisp_Object |
| 162 | call_debugger (Lisp_Object arg) | 162 | call_debugger (Lisp_Object arg) |
| 163 | { | 163 | { |
| 164 | int debug_while_redisplaying; | 164 | int debug_while_redisplaying; |
| @@ -214,7 +214,7 @@ call_debugger (Lisp_Object arg) | |||
| 214 | return unbind_to (count, val); | 214 | return unbind_to (count, val); |
| 215 | } | 215 | } |
| 216 | 216 | ||
| 217 | void | 217 | static void |
| 218 | do_debug_on_call (Lisp_Object code) | 218 | do_debug_on_call (Lisp_Object code) |
| 219 | { | 219 | { |
| 220 | debug_on_next_call = 0; | 220 | debug_on_next_call = 0; |
| @@ -1637,7 +1637,7 @@ See also the function `condition-case'. */) | |||
| 1637 | if (!NILP (clause)) | 1637 | if (!NILP (clause)) |
| 1638 | break; | 1638 | break; |
| 1639 | } | 1639 | } |
| 1640 | 1640 | ||
| 1641 | if (/* Don't run the debugger for a memory-full error. | 1641 | if (/* Don't run the debugger for a memory-full error. |
| 1642 | (There is no room in memory to do that!) */ | 1642 | (There is no room in memory to do that!) */ |
| 1643 | !NILP (error_symbol) | 1643 | !NILP (error_symbol) |
| @@ -1654,13 +1654,13 @@ See also the function `condition-case'. */) | |||
| 1654 | can continue code which has signaled a quit. */ | 1654 | can continue code which has signaled a quit. */ |
| 1655 | if (debugger_called && EQ (real_error_symbol, Qquit)) | 1655 | if (debugger_called && EQ (real_error_symbol, Qquit)) |
| 1656 | return Qnil; | 1656 | return Qnil; |
| 1657 | } | 1657 | } |
| 1658 | 1658 | ||
| 1659 | if (!NILP (clause)) | 1659 | if (!NILP (clause)) |
| 1660 | { | 1660 | { |
| 1661 | Lisp_Object unwind_data | 1661 | Lisp_Object unwind_data |
| 1662 | = (NILP (error_symbol) ? data : Fcons (error_symbol, data)); | 1662 | = (NILP (error_symbol) ? data : Fcons (error_symbol, data)); |
| 1663 | 1663 | ||
| 1664 | h->chosen_clause = clause; | 1664 | h->chosen_clause = clause; |
| 1665 | unwind_to_catch (h->tag, unwind_data); | 1665 | unwind_to_catch (h->tag, unwind_data); |
| 1666 | } | 1666 | } |
| @@ -1672,7 +1672,7 @@ See also the function `condition-case'. */) | |||
| 1672 | 1672 | ||
| 1673 | if (! NILP (error_symbol)) | 1673 | if (! NILP (error_symbol)) |
| 1674 | data = Fcons (error_symbol, data); | 1674 | data = Fcons (error_symbol, data); |
| 1675 | 1675 | ||
| 1676 | string = Ferror_message_string (data); | 1676 | string = Ferror_message_string (data); |
| 1677 | fatal ("%s", SDATA (string), 0); | 1677 | fatal ("%s", SDATA (string), 0); |
| 1678 | } | 1678 | } |
| @@ -3057,7 +3057,7 @@ DEFUN ("fetch-bytecode", Ffetch_bytecode, Sfetch_bytecode, | |||
| 3057 | return object; | 3057 | return object; |
| 3058 | } | 3058 | } |
| 3059 | 3059 | ||
| 3060 | void | 3060 | static void |
| 3061 | grow_specpdl (void) | 3061 | grow_specpdl (void) |
| 3062 | { | 3062 | { |
| 3063 | register int count = SPECPDL_INDEX (); | 3063 | register int count = SPECPDL_INDEX (); |
| @@ -3589,4 +3589,3 @@ The value the function returns is not used. */); | |||
| 3589 | defsubr (&Sbacktrace); | 3589 | defsubr (&Sbacktrace); |
| 3590 | defsubr (&Sbacktrace_frame); | 3590 | defsubr (&Sbacktrace_frame); |
| 3591 | } | 3591 | } |
| 3592 | |||