aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1998-08-15 01:28:14 +0000
committerKenichi Handa1998-08-15 01:28:14 +0000
commit1e66110880a7e2e0560b9fc3c69ca41a99e078ae (patch)
treed30053f17451385d1e5ec7d956312f290669614a /src
parent16cd5029243337639a536b8cc972d6938ca61754 (diff)
downloademacs-1e66110880a7e2e0560b9fc3c69ca41a99e078ae.tar.gz
emacs-1e66110880a7e2e0560b9fc3c69ca41a99e078ae.zip
(x_display_unibyte_char_with_fontset): New variable.
(syms_of_xfns): Declare x-display-unibyte-char-with-fontset as a Lisp variable.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 00632c86341..894766432c6 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -136,6 +136,9 @@ Lisp_Object Vx_bitmap_file_path;
136/* Regexp matching a font name whose width is the same as `PIXEL_SIZE'. */ 136/* Regexp matching a font name whose width is the same as `PIXEL_SIZE'. */
137Lisp_Object Vx_pixel_size_width_font_regexp; 137Lisp_Object Vx_pixel_size_width_font_regexp;
138 138
139/* A flag to control how to display unibyte 8-bit character. */
140int x_display_unibyte_char_with_fontset;
141
139/* Evaluate this expression to rebuild the section of syms_of_xfns 142/* Evaluate this expression to rebuild the section of syms_of_xfns
140 that initializes and staticpros the symbols declared below. Note 143 that initializes and staticpros the symbols declared below. Note
141 that Emacs 18 has a bug that keeps C-x C-e from being able to 144 that Emacs 18 has a bug that keeps C-x C-e from being able to
@@ -5383,6 +5386,17 @@ such a font. This is especially effective for such large fonts as\n\
5383Chinese, Japanese, and Korean."); 5386Chinese, Japanese, and Korean.");
5384 Vx_pixel_size_width_font_regexp = Qnil; 5387 Vx_pixel_size_width_font_regexp = Qnil;
5385 5388
5389 DEFVAR_BOOL ("x-display-unibyte-char-with-fontset",
5390 &x_display_unibyte_char_with_fontset,
5391 "*Non-nil means display unibyte 8-bit characters by a font in fontset.\n\
5392Usually, unibyte 8-bit characters are displayed by a font\n\
5393specified for an ASCII font.\n\
5394But if this variable is non-nil, such characters are displayed by a font\n\
5395for a specific character set listed in the current fontset.\n\
5396Thus, changing the current language environment will change\n\
5397how unibyte 8-bit characters display.");
5398 x_display_unibyte_char_with_fontset = 0;
5399
5386#ifdef USE_X_TOOLKIT 5400#ifdef USE_X_TOOLKIT
5387 Fprovide (intern ("x-toolkit")); 5401 Fprovide (intern ("x-toolkit"));
5388#endif 5402#endif