static void store_tool_bar_style_changed (const char *newstyle, struct x_display_info *dpyinfo) { Lisp_Object style = map_tool_bar_style (newstyle); if (EQ (current_tool_bar_style, style)) return; /* No change. */ current_tool_bar_style = style; if (dpyinfo_valid (dpyinfo)) store_config_changed_event (Qtool_bar_style, XCAR (dpyinfo->name_list_element)); }
static void store_monospaced_changed (const char *newfont) { if (current_mono_font != NULL && strcmp (newfont, current_mono_font) == 0) return; /* No change. */ dupstring (¤t_mono_font, newfont); if (dpyinfo_valid (first_dpyinfo) && use_system_font) { store_config_changed_event (Qmonospace_font_name, XCAR (first_dpyinfo->name_list_element)); } }
static void store_font_name_changed (const char *newfont) { if (current_font != NULL && strcmp (newfont, current_font) == 0) return; /* No change. */ xfree (current_font); current_font = xstrdup (newfont); if (dpyinfo_valid (first_dpyinfo)) { store_config_changed_event (Qfont_name, XCAR (first_dpyinfo->name_list_element)); } }