diff options
Diffstat (limited to 'src/font.c')
| -rw-r--r-- | src/font.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/font.c b/src/font.c index 84fb5ccd265..484f0257546 100644 --- a/src/font.c +++ b/src/font.c | |||
| @@ -4349,6 +4349,8 @@ Type C-l to recover what previously shown. */) | |||
| 4349 | 4349 | ||
| 4350 | #endif /* FONT_DEBUG */ | 4350 | #endif /* FONT_DEBUG */ |
| 4351 | 4351 | ||
| 4352 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 4353 | |||
| 4352 | DEFUN ("font-info", Ffont_info, Sfont_info, 1, 2, 0, | 4354 | DEFUN ("font-info", Ffont_info, Sfont_info, 1, 2, 0, |
| 4353 | doc: /* Return information about a font named NAME on frame FRAME. | 4355 | doc: /* Return information about a font named NAME on frame FRAME. |
| 4354 | If FRAME is omitted or nil, use the selected frame. | 4356 | If FRAME is omitted or nil, use the selected frame. |
| @@ -4420,6 +4422,7 @@ If the named font is not yet loaded, return nil. */) | |||
| 4420 | #endif | 4422 | #endif |
| 4421 | return info; | 4423 | return info; |
| 4422 | } | 4424 | } |
| 4425 | #endif | ||
| 4423 | 4426 | ||
| 4424 | 4427 | ||
| 4425 | #define BUILD_STYLE_TABLE(TBL) \ | 4428 | #define BUILD_STYLE_TABLE(TBL) \ |
| @@ -4591,7 +4594,9 @@ syms_of_font () | |||
| 4591 | defsubr (&Sdraw_string); | 4594 | defsubr (&Sdraw_string); |
| 4592 | #endif | 4595 | #endif |
| 4593 | #endif /* FONT_DEBUG */ | 4596 | #endif /* FONT_DEBUG */ |
| 4597 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 4594 | defsubr (&Sfont_info); | 4598 | defsubr (&Sfont_info); |
| 4599 | #endif | ||
| 4595 | 4600 | ||
| 4596 | DEFVAR_LISP ("font-encoding-alist", &Vfont_encoding_alist, | 4601 | DEFVAR_LISP ("font-encoding-alist", &Vfont_encoding_alist, |
| 4597 | doc: /* | 4602 | doc: /* |