diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/eval.c | 3 | ||||
| -rw-r--r-- | src/xfaces.c | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/eval.c b/src/eval.c index 1076985d097..4e8a4e9d9da 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -1884,7 +1884,7 @@ signal_or_quit (Lisp_Object error_symbol, Lisp_Object data, bool keyboard_quit) | |||
| 1884 | && NILP (Vinhibit_debugger)) | 1884 | && NILP (Vinhibit_debugger)) |
| 1885 | { | 1885 | { |
| 1886 | ptrdiff_t count = SPECPDL_INDEX (); | 1886 | ptrdiff_t count = SPECPDL_INDEX (); |
| 1887 | specbind (Vdebugger, Qdebug); | 1887 | specbind (Qdebugger, Qdebug); |
| 1888 | call_debugger (list2 (Qerror, Fcons (error_symbol, data))); | 1888 | call_debugger (list2 (Qerror, Fcons (error_symbol, data))); |
| 1889 | unbind_to (count, Qnil); | 1889 | unbind_to (count, Qnil); |
| 1890 | } | 1890 | } |
| @@ -4460,6 +4460,7 @@ might not be safe to continue. */); | |||
| 4460 | doc: /* Non-nil means display call stack frames as lists. */); | 4460 | doc: /* Non-nil means display call stack frames as lists. */); |
| 4461 | debugger_stack_frame_as_list = 0; | 4461 | debugger_stack_frame_as_list = 0; |
| 4462 | 4462 | ||
| 4463 | DEFSYM (Qdebugger, "debugger"); | ||
| 4463 | DEFVAR_LISP ("debugger", Vdebugger, | 4464 | DEFVAR_LISP ("debugger", Vdebugger, |
| 4464 | doc: /* Function to call to invoke debugger. | 4465 | doc: /* Function to call to invoke debugger. |
| 4465 | If due to frame exit, args are `exit' and the value being returned; | 4466 | If due to frame exit, args are `exit' and the value being returned; |
diff --git a/src/xfaces.c b/src/xfaces.c index 6a279f87192..76ce6932023 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -4151,9 +4151,9 @@ If the optional argument FRAME is given, report on face FACE in that frame. | |||
| 4151 | If FRAME is t, report on the defaults for face FACE (for new frames). | 4151 | If FRAME is t, report on the defaults for face FACE (for new frames). |
| 4152 | The font default for a face is either nil, or a list | 4152 | The font default for a face is either nil, or a list |
| 4153 | of the form (bold), (italic) or (bold italic). | 4153 | of the form (bold), (italic) or (bold italic). |
| 4154 | If FRAME is omitted or nil, use the selected frame. And, in this case, | 4154 | If FRAME is omitted or nil, use the selected frame. |
| 4155 | if the optional third argument CHARACTER is given, | 4155 | If FRAME is anything but t, and the optional third argument CHARACTER |
| 4156 | return the font name used for CHARACTER. */) | 4156 | is given, return the font name used by FACE for CHARACTER on FRAME. */) |
| 4157 | (Lisp_Object face, Lisp_Object frame, Lisp_Object character) | 4157 | (Lisp_Object face, Lisp_Object frame, Lisp_Object character) |
| 4158 | { | 4158 | { |
| 4159 | if (EQ (frame, Qt)) | 4159 | if (EQ (frame, Qt)) |