mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-10 05:30:45 -08:00
(Fx_create_frame): Delete unnecessary code.
This commit is contained in:
parent
0ef691383d
commit
632a44143f
1 changed files with 0 additions and 11 deletions
11
src/xfns.c
11
src/xfns.c
|
|
@ -3274,19 +3274,8 @@ This function is an internal primitive--use `make-frame' instead.")
|
|||
{
|
||||
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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue