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 72987dd3190..ab23072aafa 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -5598,7 +5598,11 @@ compact_font_caches (void) | |||
| 5598 | for (t = terminal_list; t; t = t->next_terminal) | 5598 | for (t = terminal_list; t; t = t->next_terminal) |
| 5599 | { | 5599 | { |
| 5600 | Lisp_Object cache = TERMINAL_FONT_CACHE (t); | 5600 | Lisp_Object cache = TERMINAL_FONT_CACHE (t); |
| 5601 | if (CONSP (cache)) | 5601 | /* Inhibit compacting the caches if the user so wishes. Some of |
| 5602 | the users don't mind a larger memory footprint, but do mind | ||
| 5603 | slower redisplay. */ | ||
| 5604 | if (!inhibit_compacting_font_caches | ||
| 5605 | && CONSP (cache)) | ||
| 5602 | { | 5606 | { |
| 5603 | Lisp_Object entry; | 5607 | Lisp_Object entry; |
| 5604 | 5608 | ||