(display_mode_element): Move list length limit from 50 to
5000 (see thread starting with <xbaik5174uqu.fsf@cam.ac.uk>).
This commit is contained in:
parent
72d83b260c
commit
19f48442c8
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* xdisp.c (display_mode_element): Move list length limit from 50 to
|
||||
5000 (see thread starting with <xbaik5174uqu.fsf@cam.ac.uk>).
|
||||
|
||||
2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* nsfont.m (ns_get_family): Don't force first letter to uppercase.
|
||||
|
|
|
@ -17750,8 +17750,12 @@ display_mode_element (it, depth, field_width, precision, elt, props, risky)
|
|||
}
|
||||
else if (STRINGP (car) || CONSP (car))
|
||||
{
|
||||
register int limit = 50;
|
||||
/* Limit is to protect against circular lists. */
|
||||
register int limit = 5000;
|
||||
/* Limit is to protect against circular lists.
|
||||
The limit used to be 50, but if you use enough minor modes,
|
||||
minor-mode-alist will easily grow past 50. Circular lists
|
||||
are rather unlikely, so it's better for the limit to be
|
||||
"too large" rather than "too small". */
|
||||
while (CONSP (elt)
|
||||
&& --limit > 0
|
||||
&& (precision <= 0 || n < precision))
|
||||
|
|
Loading…
Add table
Reference in a new issue