Commit 576a945c authored by Karl Heuer's avatar Karl Heuer
Browse files

[!MULTI_PERDISPLAY] (defvar_display): Use staticpro.

parent 5de41b1d
......@@ -1921,6 +1921,9 @@ defvar_display (namestring, offset)
XMISC (val)->type = Lisp_Misc_Display_Objfwd;
XDISPLAY_OBJFWD (val)->offset = offset;
XSYMBOL (sym)->value = val;
#ifndef MULTI_PERDISPLAY
staticpro ((Lisp_Object *)((char *)&the_only_perdisplay + offset));
#endif
}
init_lread ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment