changeset 89029:ad8f56efa7c6

(syms_of_character): Setup Vprintable_chars.
author Kenichi Handa <handa@m17n.org>
date Tue, 20 Aug 2002 11:11:19 +0000
parents 4215ff2d202d
children 28c841bc7706
files src/character.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/character.c	Tue Aug 20 08:34:51 2002 +0000
+++ b/src/character.c	Tue Aug 20 11:11:19 2002 +0000
@@ -916,6 +916,11 @@
   DEFVAR_LISP ("printable-chars", &Vprintable_chars,
 	       doc: /* A char-table for each printable character.  */);
   Vprintable_chars = Fmake_char_table (Qnil, Qnil);
+  Fset_char_table_range (Vprintable_chars,
+			 Fcons (make_number (32), make_number (126)), Qt);
+  Fset_char_table_range (Vprintable_chars,
+			 Fcons (make_number (160),
+				make_number (MAX_5_BYTE_CHAR)), Qt);
 
   DEFVAR_LISP ("char-script-table", &Vchar_script_table,
 	       doc: /* Char table of script symbols.