+1999-10-31 Gerd Moellmann <gerd@gnu.org>
+
+ * fns.c (Flength): Unroll loop over lists.
+
+ * xdisp.c (append_space): Return non-zero if space was appended.
+ (display_line): Set charpos of first glyph to -1 only if that
+ glyph is the space added by append_glyph.
+
1999-10-29 Kenichi Handa <handa@etl.go.jp>
* coding.c (code_convert_region): Update `dst' correctly.
XSETFASTINT (val, XVECTOR (sequence)->size & PSEUDOVECTOR_SIZE_MASK);
else if (CONSP (sequence))
{
- for (i = 0; CONSP (sequence); ++i)
+ i = 0;
+ while (CONSP (sequence))
{
- if ((i & 0xff) == 0)
- QUIT;
sequence = XCDR (sequence);
+ ++i;
+
+ if (!CONSP (sequence))
+ break;
+
+ sequence = XCDR (sequence);
+ ++i;
+ QUIT;
}
if (!NILP (sequence))