aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fontset.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fontset.c b/src/fontset.c
index f6c94f53e7e..6e2e34dac77 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -686,7 +686,7 @@ fontset_font (fontset, c, face, id)
686 if (VECTORP (rfont_def)) 686 if (VECTORP (rfont_def))
687 return rfont_def; 687 return rfont_def;
688 if (EQ (rfont_def, Qt)) 688 if (EQ (rfont_def, Qt))
689 return Qnil; 689 goto no_font;
690 690
691 /* Try a font-group of the default fontset. */ 691 /* Try a font-group of the default fontset. */
692 base_fontset = FONTSET_BASE (fontset); 692 base_fontset = FONTSET_BASE (fontset);
@@ -699,7 +699,7 @@ fontset_font (fontset, c, face, id)
699 if (VECTORP (rfont_def)) 699 if (VECTORP (rfont_def))
700 return rfont_def; 700 return rfont_def;
701 if (EQ (rfont_def, Qt)) 701 if (EQ (rfont_def, Qt))
702 return Qnil; 702 goto no_font;
703 } 703 }
704 704
705 /* Try a fallback font-group of FONTSET. */ 705 /* Try a fallback font-group of FONTSET. */
@@ -707,7 +707,7 @@ fontset_font (fontset, c, face, id)
707 if (VECTORP (rfont_def)) 707 if (VECTORP (rfont_def))
708 return rfont_def; 708 return rfont_def;
709 if (EQ (rfont_def, Qt)) 709 if (EQ (rfont_def, Qt))
710 return Qnil; 710 goto no_font;
711 711
712 /* Try a fallback font-group of the default fontset . */ 712 /* Try a fallback font-group of the default fontset . */
713 if (! EQ (base_fontset, Vdefault_fontset)) 713 if (! EQ (base_fontset, Vdefault_fontset))
@@ -717,6 +717,7 @@ fontset_font (fontset, c, face, id)
717 return rfont_def; 717 return rfont_def;
718 } 718 }
719 719
720 no_font:
720 /* Remember that we have no font for C. */ 721 /* Remember that we have no font for C. */
721 FONTSET_SET (fontset, make_number (c), Qt); 722 FONTSET_SET (fontset, make_number (c), Qt);
722 723