emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c63d77ac6b: Fix last change again


From: Po Lu
Subject: master c63d77ac6b: Fix last change again
Date: Tue, 15 Nov 2022 08:43:14 -0500 (EST)

branch: master
commit c63d77ac6b10dc453d08afc852debc6a9a3cde36
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix last change again
    
    * src/frame.c (Freconsider_frame_fonts): Apply value of default
    face again.  (bug#59283)
---
 src/frame.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/frame.c b/src/frame.c
index 6eb6f392ec..bfdd03e501 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -5962,9 +5962,16 @@ have changed.  */)
 
   f = decode_window_system_frame (frame);
 
+  /* First, call this to reinitialize any font backend specific
+     stuff.  */
+
   if (FRAME_RIF (f)->default_font_parameter)
     FRAME_RIF (f)->default_font_parameter (f, Qnil);
 
+  /* Now call this to apply the existing value(s) of the `default'
+     face.  */
+  call1 (Qface_set_after_frame_default, frame);
+
   return Qnil;
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]