diff options
| -rw-r--r-- | src/xfaces.c | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index c9abfc84b8d..aa3041d6910 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -5452,13 +5452,20 @@ be found. Value is ALIST. */) | |||
| 5452 | (alist) | 5452 | (alist) |
| 5453 | Lisp_Object alist; | 5453 | Lisp_Object alist; |
| 5454 | { | 5454 | { |
| 5455 | Lisp_Object tail, tail2; | 5455 | Lisp_Object entry, tail, tail2; |
| 5456 | 5456 | ||
| 5457 | CHECK_LIST (alist); | 5457 | CHECK_LIST (alist); |
| 5458 | alist = Fcopy_sequence (alist); | 5458 | alist = Fcopy_sequence (alist); |
| 5459 | for (tail = alist; CONSP (tail); tail = XCDR (tail)) | 5459 | for (tail = alist; CONSP (tail); tail = XCDR (tail)) |
| 5460 | for (tail2 = XCAR (tail); CONSP (tail2); tail2 = XCDR (tail2)) | 5460 | { |
| 5461 | XSETCAR (tail2, Fintern (XCAR (tail2), Qnil)); | 5461 | entry = XCAR (tail); |
| 5462 | CHECK_LIST (entry); | ||
| 5463 | entry = Fcopy_sequence (entry); | ||
| 5464 | XSETCAR (tail, entry); | ||
| 5465 | for (tail2 = entry; CONSP (tail2); tail2 = XCDR (tail2)) | ||
| 5466 | XSETCAR (tail2, Fintern (XCAR (tail2), Qnil)); | ||
| 5467 | } | ||
| 5468 | |||
| 5462 | Vface_alternative_font_family_alist = alist; | 5469 | Vface_alternative_font_family_alist = alist; |
| 5463 | free_all_realized_faces (Qnil); | 5470 | free_all_realized_faces (Qnil); |
| 5464 | return alist; | 5471 | return alist; |
| @@ -5475,13 +5482,19 @@ be found. Value is ALIST. */) | |||
| 5475 | (alist) | 5482 | (alist) |
| 5476 | Lisp_Object alist; | 5483 | Lisp_Object alist; |
| 5477 | { | 5484 | { |
| 5478 | Lisp_Object tail, tail2; | 5485 | Lisp_Object entry, tail, tail2; |
| 5479 | 5486 | ||
| 5480 | CHECK_LIST (alist); | 5487 | CHECK_LIST (alist); |
| 5481 | alist = Fcopy_sequence (alist); | 5488 | alist = Fcopy_sequence (alist); |
| 5482 | for (tail = alist; CONSP (tail); tail = XCDR (tail)) | 5489 | for (tail = alist; CONSP (tail); tail = XCDR (tail)) |
| 5483 | for (tail2 = XCAR (tail); CONSP (tail2); tail2 = XCDR (tail2)) | 5490 | { |
| 5484 | XSETCAR (tail2, Fdowncase (XCAR (tail2))); | 5491 | entry = XCAR (tail); |
| 5492 | CHECK_LIST (entry); | ||
| 5493 | entry = Fcopy_sequence (entry); | ||
| 5494 | XSETCAR (tail, entry); | ||
| 5495 | for (tail2 = entry; CONSP (tail2); tail2 = XCDR (tail2)) | ||
| 5496 | XSETCAR (tail2, Fdowncase (XCAR (tail2))); | ||
| 5497 | } | ||
| 5485 | Vface_alternative_font_registry_alist = alist; | 5498 | Vface_alternative_font_registry_alist = alist; |
| 5486 | free_all_realized_faces (Qnil); | 5499 | free_all_realized_faces (Qnil); |
| 5487 | return alist; | 5500 | return alist; |