aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Kangas2022-02-01 06:57:16 +0100
committerStefan Kangas2022-02-01 06:57:16 +0100
commit30ebb54410d18a4f782fe39d21c1941f9852ec8f (patch)
treefbcde4e1808baf184e235344830ef7e8688afb66 /src
parent558c4dafa309445cd8ffc568303e2189f4effc03 (diff)
parent31ef751f94fd028d6f1c6bcdf379a8b99769a894 (diff)
downloademacs-30ebb54410d18a4f782fe39d21c1941f9852ec8f.tar.gz
emacs-30ebb54410d18a4f782fe39d21c1941f9852ec8f.zip
Merge from origin/emacs-28
31ef751f94 Clarify documentation of a "face's font" 29bdedf12f Bind Qdebugger to Qdebug in signal_or_quit.
Diffstat (limited to 'src')
-rw-r--r--src/eval.c3
-rw-r--r--src/xfaces.c6
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.
4465If due to frame exit, args are `exit' and the value being returned; 4466If 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.
4151If FRAME is t, report on the defaults for face FACE (for new frames). 4151If 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).
4154If FRAME is omitted or nil, use the selected frame. And, in this case, 4154If FRAME is omitted or nil, use the selected frame.
4155if the optional third argument CHARACTER is given, 4155If FRAME is anything but t, and the optional third argument CHARACTER
4156return the font name used for CHARACTER. */) 4156is 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))