HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ce00b6
)
(x_default_font_parameter): Try also "fixed", and signal
author
Kenichi Handa
<handa@m17n.org>
Fri, 16 Jun 2006 12:14:37 +0000
(12:14 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Fri, 16 Jun 2006 12:14:37 +0000
(12:14 +0000)
error here if no suitable font was found.
src/xfns.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index
b4d1661
..
5924ba2
100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-2986,6
+2986,7
@@
x_default_font_parameter (f, parms)
/* If those didn't work, look for something which will
at least work. */
"-*-fixed-*-*-*-*-*-140-*-*-c-*-iso8859-1",
+ "fixed",
NULL };
int i;
@@
-2996,7
+2997,7
@@
x_default_font_parameter (f, parms)
break;
}
if (NILP (font))
-
font = build_string ("fixe
d");
+
error ("No suitable font was foun
d");
}
x_default_parameter (f, parms, Qfont, font, "font", "Font", RES_TYPE_STRING);
}