1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-21 22:34:51 -07:00

Protect 'current_tool_bar_style' from GC

Currently always set to a built-in symbol.

* src/xsettings.c (syms_of_xsettings): Call 'staticpro'.
This commit is contained in:
Pip Cet 2026-03-17 08:47:00 +00:00
parent a894695af9
commit f2c3ce50fe

View file

@ -1411,6 +1411,7 @@ If this variable is nil, Emacs ignores system font changes. */);
#endif
current_tool_bar_style = Qnil;
staticpro (&current_tool_bar_style);
DEFSYM (Qtool_bar_style, "tool-bar-style");
defsubr (&Stool_bar_get_system_style);