diff options
| author | Gerd Moellmann | 1999-09-13 11:13:31 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-09-13 11:13:31 +0000 |
| commit | 18f39d0e2073ecf318054c186da69bf6f3b8fea8 (patch) | |
| tree | 3118e0c0f8bb754649ef9667b3eb6ea435fe70eb /src | |
| parent | 74c2d1c65d7546a1c0f2958f8de0506a6058cd17 (diff) | |
| download | emacs-18f39d0e2073ecf318054c186da69bf6f3b8fea8.tar.gz emacs-18f39d0e2073ecf318054c186da69bf6f3b8fea8.zip | |
(Ffont_info): Change for Lisp_Object selected_frame.
(Ffontset_info): DItto.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fontset.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/fontset.c b/src/fontset.c index 876e0924e4a..2a73ab2ccdc 100644 --- a/src/fontset.c +++ b/src/fontset.c | |||
| @@ -709,12 +709,9 @@ If the named font is not yet loaded, return nil.") | |||
| 709 | 709 | ||
| 710 | CHECK_STRING (name, 0); | 710 | CHECK_STRING (name, 0); |
| 711 | if (NILP (frame)) | 711 | if (NILP (frame)) |
| 712 | f = selected_frame; | 712 | frame = selected_frame; |
| 713 | else | 713 | CHECK_LIVE_FRAME (frame, 1); |
| 714 | { | 714 | f = XFRAME (frame); |
| 715 | CHECK_LIVE_FRAME (frame, 1); | ||
| 716 | f = XFRAME (frame); | ||
| 717 | } | ||
| 718 | 715 | ||
| 719 | if (!query_font_func) | 716 | if (!query_font_func) |
| 720 | error ("Font query function is not supported"); | 717 | error ("Font query function is not supported"); |
| @@ -761,12 +758,9 @@ loading failed.") | |||
| 761 | 758 | ||
| 762 | CHECK_STRING(name, 0); | 759 | CHECK_STRING(name, 0); |
| 763 | if (NILP (frame)) | 760 | if (NILP (frame)) |
| 764 | f = selected_frame; | 761 | frame = selected_frame; |
| 765 | else | 762 | CHECK_LIVE_FRAME (frame, 1); |
| 766 | { | 763 | f = XFRAME (frame); |
| 767 | CHECK_LIVE_FRAME (frame, 1); | ||
| 768 | f = XFRAME (frame); | ||
| 769 | } | ||
| 770 | 764 | ||
| 771 | fontset = fs_query_fontset (f, XSTRING (name)->data); | 765 | fontset = fs_query_fontset (f, XSTRING (name)->data); |
| 772 | if (fontset < 0) | 766 | if (fontset < 0) |