Mercurial > hg > xemacs-beta
comparison src/file-coding.c @ 414:da8ed4261e83 r21-2-15
Import from CVS: tag r21-2-15
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:21:38 +0200 |
parents | 697ef44129c6 |
children | ebe98a74bd68 |
comparison
equal
deleted
inserted
replaced
413:901169e5ca31 | 414:da8ed4261e83 |
---|---|
5401 /************************************************************************/ | 5401 /************************************************************************/ |
5402 /* Initialization */ | 5402 /* Initialization */ |
5403 /************************************************************************/ | 5403 /************************************************************************/ |
5404 | 5404 |
5405 void | 5405 void |
5406 syms_of_mule_coding (void) | 5406 syms_of_file_coding (void) |
5407 { | 5407 { |
5408 defsymbol (&Qbuffer_file_coding_system, "buffer-file-coding-system"); | 5408 defsymbol (&Qbuffer_file_coding_system, "buffer-file-coding-system"); |
5409 deferror (&Qcoding_system_error, "coding-system-error", | 5409 deferror (&Qcoding_system_error, "coding-system-error", |
5410 "Coding-system error", Qio_error); | 5410 "Coding-system error", Qio_error); |
5411 | 5411 |
5513 defsymbol (&coding_category_symbol[CODING_CATEGORY_NO_CONVERSION], | 5513 defsymbol (&coding_category_symbol[CODING_CATEGORY_NO_CONVERSION], |
5514 "no-conversion"); | 5514 "no-conversion"); |
5515 } | 5515 } |
5516 | 5516 |
5517 void | 5517 void |
5518 lstream_type_create_mule_coding (void) | 5518 lstream_type_create_file_coding (void) |
5519 { | 5519 { |
5520 LSTREAM_HAS_METHOD (decoding, reader); | 5520 LSTREAM_HAS_METHOD (decoding, reader); |
5521 LSTREAM_HAS_METHOD (decoding, writer); | 5521 LSTREAM_HAS_METHOD (decoding, writer); |
5522 LSTREAM_HAS_METHOD (decoding, rewinder); | 5522 LSTREAM_HAS_METHOD (decoding, rewinder); |
5523 LSTREAM_HAS_METHOD (decoding, seekable_p); | 5523 LSTREAM_HAS_METHOD (decoding, seekable_p); |
5533 LSTREAM_HAS_METHOD (encoding, closer); | 5533 LSTREAM_HAS_METHOD (encoding, closer); |
5534 LSTREAM_HAS_METHOD (encoding, marker); | 5534 LSTREAM_HAS_METHOD (encoding, marker); |
5535 } | 5535 } |
5536 | 5536 |
5537 void | 5537 void |
5538 vars_of_mule_coding (void) | 5538 vars_of_file_coding (void) |
5539 { | 5539 { |
5540 int i; | 5540 int i; |
5541 | 5541 |
5542 /* Initialize to something reasonable ... */ | 5542 /* Initialize to something reasonable ... */ |
5543 for (i = 0; i <= CODING_CATEGORY_LAST; i++) | 5543 for (i = 0; i <= CODING_CATEGORY_LAST; i++) |
5595 */ ); | 5595 */ ); |
5596 enable_multibyte_characters = 1; | 5596 enable_multibyte_characters = 1; |
5597 } | 5597 } |
5598 | 5598 |
5599 void | 5599 void |
5600 complex_vars_of_mule_coding (void) | 5600 complex_vars_of_file_coding (void) |
5601 { | 5601 { |
5602 staticpro (&Vcoding_system_hash_table); | 5602 staticpro (&Vcoding_system_hash_table); |
5603 Vcoding_system_hash_table = | 5603 Vcoding_system_hash_table = |
5604 make_lisp_hash_table (50, HASH_TABLE_NON_WEAK, HASH_TABLE_EQ); | 5604 make_lisp_hash_table (50, HASH_TABLE_NON_WEAK, HASH_TABLE_EQ); |
5605 | 5605 |