diff options
Diffstat (limited to 'src/xsettings.c')
| -rw-r--r-- | src/xsettings.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/xsettings.c b/src/xsettings.c index 83ca87ed0bd..e3d2c6e9efb 100644 --- a/src/xsettings.c +++ b/src/xsettings.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Functions for handle font and other changes dynamically. | 1 | /* Functions for handling font and other changes dynamically. |
| 2 | Copyright (C) 2009, 2010 | 2 | |
| 3 | Free Software Foundation, Inc. | 3 | Copyright (C) 2009-2011 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -44,8 +44,6 @@ static char *current_font; | |||
| 44 | static struct x_display_info *first_dpyinfo; | 44 | static struct x_display_info *first_dpyinfo; |
| 45 | static Lisp_Object Qmonospace_font_name, Qfont_name, Qfont_render, | 45 | static Lisp_Object Qmonospace_font_name, Qfont_name, Qfont_render, |
| 46 | Qtool_bar_style; | 46 | Qtool_bar_style; |
| 47 | static int use_system_font; | ||
| 48 | static Lisp_Object Vxft_settings; | ||
| 49 | static Lisp_Object current_tool_bar_style; | 47 | static Lisp_Object current_tool_bar_style; |
| 50 | 48 | ||
| 51 | #ifdef HAVE_GCONF | 49 | #ifdef HAVE_GCONF |
| @@ -751,14 +749,14 @@ syms_of_xsettings (void) | |||
| 751 | defsubr (&Sfont_get_system_font); | 749 | defsubr (&Sfont_get_system_font); |
| 752 | defsubr (&Sfont_get_system_normal_font); | 750 | defsubr (&Sfont_get_system_normal_font); |
| 753 | 751 | ||
| 754 | DEFVAR_BOOL ("font-use-system-font", &use_system_font, | 752 | DEFVAR_BOOL ("font-use-system-font", use_system_font, |
| 755 | doc: /* *Non-nil means to apply the system defined font dynamically. | 753 | doc: /* *Non-nil means to apply the system defined font dynamically. |
| 756 | When this is non-nil and the system defined fixed width font changes, we | 754 | When this is non-nil and the system defined fixed width font changes, we |
| 757 | update frames dynamically. | 755 | update frames dynamically. |
| 758 | If this variable is nil, Emacs ignores system font changes. */); | 756 | If this variable is nil, Emacs ignores system font changes. */); |
| 759 | use_system_font = 0; | 757 | use_system_font = 0; |
| 760 | 758 | ||
| 761 | DEFVAR_LISP ("xft-settings", &Vxft_settings, | 759 | DEFVAR_LISP ("xft-settings", Vxft_settings, |
| 762 | doc: /* Font settings applied to Xft. */); | 760 | doc: /* Font settings applied to Xft. */); |
| 763 | Vxft_settings = make_string ("", 0); | 761 | Vxft_settings = make_string ("", 0); |
| 764 | 762 | ||
| @@ -777,5 +775,3 @@ If this variable is nil, Emacs ignores system font changes. */); | |||
| 777 | Fprovide (intern_c_string ("dynamic-setting"), Qnil); | 775 | Fprovide (intern_c_string ("dynamic-setting"), Qnil); |
| 778 | } | 776 | } |
| 779 | 777 | ||
| 780 | /* arch-tag: 541716ed-2e6b-42e1-8212-3197e01ea61d | ||
| 781 | (do not change this comment) */ | ||