diff options
author | Po Lu <luangruo@yahoo.com> | 2022-11-15 19:45:28 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-11-15 19:48:39 +0800 |
commit | c6df541783246ea867cd128c74e50afb8c9bf662 (patch) | |
tree | 3046a1141843d85915110540ce2651d2c9f1c78f /src/xfns.c | |
parent | 833e60ae1a5dd4301eb556460285414f4fea9fec (diff) | |
download | emacs-c6df541783246ea867cd128c74e50afb8c9bf662.tar.gz |
More fixes to last change
* lisp/dynamic-setting.el (font-setting-change-default-font):
Call `reconsider-frame-fonts'.
* src/frame.c (Freconsider_frame_fonts): New function.
(syms_of_frame): Add new function.
Diffstat (limited to 'src/xfns.c')
-rw-r--r-- | src/xfns.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xfns.c b/src/xfns.c index 3ff7a8c2865..6bd613ba692 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -4506,9 +4506,11 @@ x_default_font_parameter (struct frame *f, Lisp_Object parms) } if (NILP (font)) - font = !NILP (font_param) ? font_param - : gui_display_get_arg (dpyinfo, parms, Qfont, "font", "Font", - RES_TYPE_STRING); + font = (!NILP (font_param) + ? font_param + : gui_display_get_arg (dpyinfo, parms, + Qfont, "font", "Font", + RES_TYPE_STRING)); if (! FONTP (font) && ! STRINGP (font)) { |