aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1997-03-18 23:31:34 +0000
committerKenichi Handa1997-03-18 23:31:34 +0000
commit81ba44e5ff6ee0f8c5a725dc515620043d515b29 (patch)
tree7c348abc2175efb377b177d6ad2ff92fb888fba3 /src
parent441038a65fb160026368408c0deefaf0777993fb (diff)
downloademacs-81ba44e5ff6ee0f8c5a725dc515620043d515b29.tar.gz
emacs-81ba44e5ff6ee0f8c5a725dc515620043d515b29.zip
(x_list_fonts): Comment about cached font list added.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index b990f8a5bd1..47161855862 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -6140,6 +6140,10 @@ x_list_fonts (f, pattern, size, maxnames)
6140 list = Fassoc (key, 6140 list = Fassoc (key,
6141 XCONS (FRAME_X_DISPLAY_INFO (f)->name_list_element)->cdr); 6141 XCONS (FRAME_X_DISPLAY_INFO (f)->name_list_element)->cdr);
6142 6142
6143 /* Now LIST has the form (KEY . FONT-DATA-LIST), where KEY is a
6144 pattern which matches font names in FONT-DATA-LIST, FONT-DATA-LIST
6145 is a list of cons cells for the form (FONTNAME . FONTWIDTH). */
6146
6143 if (!NILP (list)) 6147 if (!NILP (list))
6144 list = XCONS (list)->cdr; 6148 list = XCONS (list)->cdr;
6145 else 6149 else
@@ -6167,7 +6171,8 @@ x_list_fonts (f, pattern, size, maxnames)
6167 /* Count the number of dashes in NAMES[I]. If there are 6171 /* Count the number of dashes in NAMES[I]. If there are
6168 14 dashes, and the field value following 12th dash 6172 14 dashes, and the field value following 12th dash
6169 (AVERAGE_WIDTH) is 0, this is a auto-scaled font 6173 (AVERAGE_WIDTH) is 0, this is a auto-scaled font
6170 which is of no use. Let's ignore it. */ 6174 which is usually too ugly to be used for editing.
6175 Let's ignore it. */
6171 while (*p) 6176 while (*p)
6172 if (*p++ == '-') 6177 if (*p++ == '-')
6173 { 6178 {