diff options
author | Po Lu <luangruo@yahoo.com> | 2022-11-15 21:42:59 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-11-15 21:42:59 +0800 |
commit | c63d77ac6b10dc453d08afc852debc6a9a3cde36 (patch) | |
tree | e5da2b65742859317551454672d1c89b0166d3d2 /src/frame.c | |
parent | c6df541783246ea867cd128c74e50afb8c9bf662 (diff) | |
download | emacs-c63d77ac6b10dc453d08afc852debc6a9a3cde36.tar.gz emacs-c63d77ac6b10dc453d08afc852debc6a9a3cde36.tar.bz2 emacs-c63d77ac6b10dc453d08afc852debc6a9a3cde36.zip |
Fix last change again
* src/frame.c (Freconsider_frame_fonts): Apply value of default
face again. (bug#59283)
Diffstat (limited to 'src/frame.c')
-rw-r--r-- | src/frame.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index 6eb6f392ecc..bfdd03e5013 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; } |