diff src/xfns.c @ 17836:d962c6beafbd

(Fx_create_frame): Delete unnecessary code.
author Kenichi Handa <handa@m17n.org>
date Fri, 16 May 1997 00:43:41 +0000
parents 094e5efd262d
children 7c919d7f8217
line wrap: on
line diff
--- a/src/xfns.c	Fri May 16 00:43:29 1997 +0000
+++ b/src/xfns.c	Fri May 16 00:43:41 1997 +0000
@@ -3274,19 +3274,8 @@
   {
     Lisp_Object font;
 
-    /* Determine font by the following priority.
-       1. `font' parameter in parms.
-       2. `font' parameter in Vdefault_frame_alist.
-       3. X resource "font" ("Font").
-       4. Select a plausible font be heuristics at least for ASCII.  */
-    tem = Fassq (Qfont, parms);
-    if (NILP (tem))
-      tem = Fassq (Qfont, Vdefault_frame_alist);
-    if (!NILP (tem))
-      font = Fcdr (tem);
     if (! STRINGP (font))
       font = x_get_arg (dpyinfo, parms, Qfont, "font", "Font", string);
-
     BLOCK_INPUT;
     /* First, try whatever font the caller has specified.  */
     if (STRINGP (font))