[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/macterm.c
From: |
Andrew Choi |
Subject: |
[Emacs-diffs] Changes to emacs/src/macterm.c |
Date: |
Fri, 25 Apr 2003 00:32:26 -0400 |
Index: emacs/src/macterm.c
diff -c emacs/src/macterm.c:1.42 emacs/src/macterm.c:1.43
*** emacs/src/macterm.c:1.42 Mon Apr 14 13:12:17 2003
--- emacs/src/macterm.c Fri Apr 25 00:32:25 2003
***************
*** 5825,5831 ****
/* Return a list of at most MAXNAMES font specs matching the one in
PATTERN. Cache matching fonts for patterns in
dpyinfo->name_list_element to avoid looking them up again by
! calling mac_font_pattern_match (slow). */
Lisp_Object
x_list_fonts (struct frame *f,
--- 5825,5832 ----
/* Return a list of at most MAXNAMES font specs matching the one in
PATTERN. Cache matching fonts for patterns in
dpyinfo->name_list_element to avoid looking them up again by
! calling mac_font_pattern_match (slow). Return as many matching
! fonts as possible if MAXNAMES = -1. */
Lisp_Object
x_list_fonts (struct frame *f,
***************
*** 5868,5874 ****
newlist = Fcons (build_string (font_name_table[i]), newlist);
n_fonts++;
! if (n_fonts >= maxnames)
break;
}
}
--- 5869,5875 ----
newlist = Fcons (build_string (font_name_table[i]), newlist);
n_fonts++;
! if (maxnames > 0 && n_fonts >= maxnames)
break;
}
}