diff options
| author | Richard M. Stallman | 1998-08-17 00:45:52 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-08-17 00:45:52 +0000 |
| commit | 48d3818408de401a30e5c1e419da3c852f7aa581 (patch) | |
| tree | 70b1819ea063b2d1f7947bd86165c50b23c1612b /src | |
| parent | fca97d877ef2ea877da2a00e75509c9185707b43 (diff) | |
| download | emacs-48d3818408de401a30e5c1e419da3c852f7aa581.tar.gz emacs-48d3818408de401a30e5c1e419da3c852f7aa581.zip | |
(unibyte_display_through_language_environment):
Renamed from x_display_unibyte_char_with_fontset.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/xfns.c b/src/xfns.c index 894766432c6..4457d2200d4 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -137,7 +137,7 @@ Lisp_Object Vx_bitmap_file_path; | |||
| 137 | Lisp_Object Vx_pixel_size_width_font_regexp; | 137 | Lisp_Object Vx_pixel_size_width_font_regexp; |
| 138 | 138 | ||
| 139 | /* A flag to control how to display unibyte 8-bit character. */ | 139 | /* A flag to control how to display unibyte 8-bit character. */ |
| 140 | int x_display_unibyte_char_with_fontset; | 140 | int unibyte_display_via_language_environment; |
| 141 | 141 | ||
| 142 | /* Evaluate this expression to rebuild the section of syms_of_xfns | 142 | /* Evaluate this expression to rebuild the section of syms_of_xfns |
| 143 | that initializes and staticpros the symbols declared below. Note | 143 | that initializes and staticpros the symbols declared below. Note |
| @@ -5386,16 +5386,14 @@ such a font. This is especially effective for such large fonts as\n\ | |||
| 5386 | Chinese, Japanese, and Korean."); | 5386 | Chinese, Japanese, and Korean."); |
| 5387 | Vx_pixel_size_width_font_regexp = Qnil; | 5387 | Vx_pixel_size_width_font_regexp = Qnil; |
| 5388 | 5388 | ||
| 5389 | DEFVAR_BOOL ("x-display-unibyte-char-with-fontset", | 5389 | DEFVAR_BOOL ("unibyte-display-via-language-environment", |
| 5390 | &x_display_unibyte_char_with_fontset, | 5390 | &unibyte_display_via_language_environment, |
| 5391 | "*Non-nil means display unibyte 8-bit characters by a font in fontset.\n\ | 5391 | "*Non-nil means display unibyte text according to language environment.\n\ |
| 5392 | Usually, unibyte 8-bit characters are displayed by a font\n\ | 5392 | Specifically this means that unibyte non-ASCII characters\n\ |
| 5393 | specified for an ASCII font.\n\ | 5393 | are displayed by converting them to the equivalent multibyte characters\n\ |
| 5394 | But if this variable is non-nil, such characters are displayed by a font\n\ | 5394 | according to the current language environment. As a result, they are\n\ |
| 5395 | for a specific character set listed in the current fontset.\n\ | 5395 | displayed according to the current fontset."); |
| 5396 | Thus, changing the current language environment will change\n\ | 5396 | unibyte_display_via_language_environment = 0; |
| 5397 | how unibyte 8-bit characters display."); | ||
| 5398 | x_display_unibyte_char_with_fontset = 0; | ||
| 5399 | 5397 | ||
| 5400 | #ifdef USE_X_TOOLKIT | 5398 | #ifdef USE_X_TOOLKIT |
| 5401 | Fprovide (intern ("x-toolkit")); | 5399 | Fprovide (intern ("x-toolkit")); |