diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index f33d93f83b4..c7f58a8adc4 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -5584,7 +5584,11 @@ compact_font_caches (void) | |||
| 5584 | for (t = terminal_list; t; t = t->next_terminal) | 5584 | for (t = terminal_list; t; t = t->next_terminal) |
| 5585 | { | 5585 | { |
| 5586 | Lisp_Object cache = TERMINAL_FONT_CACHE (t); | 5586 | Lisp_Object cache = TERMINAL_FONT_CACHE (t); |
| 5587 | if (CONSP (cache)) | 5587 | /* Inhibit compacting the caches if the user so wishes. Some of |
| 5588 | the users don't mind a larger memory footprint, but do mind | ||
| 5589 | slower redisplay. */ | ||
| 5590 | if (!inhibit_compacting_font_caches | ||
| 5591 | && CONSP (cache)) | ||
| 5588 | { | 5592 | { |
| 5589 | Lisp_Object entry; | 5593 | Lisp_Object entry; |
| 5590 | 5594 | ||