comparison src/faces.c @ 5386:af961911bcb2

Make listu() and listn() assemble lists in forward order. Use them. See xemacs-patches message with ID <AANLkTi=Tnd_e8WqiGBE2DmNGmY7zhqxhVNtxECnQo8w9@mail.gmail.com>
author Jerry James <james@xemacs.org>
date Tue, 29 Mar 2011 15:59:56 -0600
parents 3889ef128488
children 248176c74e6b
comparison
equal deleted inserted replaced
5385:436e67ca8c79 5386:af961911bcb2
2225 If non-zero, display debug information about X faces 2225 If non-zero, display debug information about X faces
2226 */ ); 2226 */ );
2227 debug_x_faces = 0; 2227 debug_x_faces = 0;
2228 #endif 2228 #endif
2229 2229
2230 { 2230 Vbuilt_in_face_specifiers =
2231 Lisp_Object syms[20]; 2231 listu (Qforeground, Qbackground, Qfont, Qdisplay_table, Qbackground_pixmap,
2232 int n = 0; 2232 Qbackground_placement, Qunderline, Qstrikethru, Qhighlight, Qdim,
2233 2233 Qblinking, Qreverse, Qunbound);
2234 syms[n++] = Qforeground; 2234 staticpro (&Vbuilt_in_face_specifiers);
2235 syms[n++] = Qbackground;
2236 syms[n++] = Qfont;
2237 syms[n++] = Qdisplay_table;
2238 syms[n++] = Qbackground_pixmap;
2239 syms[n++] = Qbackground_placement;
2240 syms[n++] = Qunderline;
2241 syms[n++] = Qstrikethru;
2242 syms[n++] = Qhighlight;
2243 syms[n++] = Qdim;
2244 syms[n++] = Qblinking;
2245 syms[n++] = Qreverse;
2246
2247 Vbuilt_in_face_specifiers = Flist (n, syms);
2248 staticpro (&Vbuilt_in_face_specifiers);
2249 }
2250 } 2235 }
2251 2236
2252 void 2237 void
2253 complex_vars_of_faces (void) 2238 complex_vars_of_faces (void)
2254 { 2239 {