Mercurial > emacs
comparison src/coding.c @ 48874:3002a87cc629
(coding_system_require_warning): New variable.
(syms_of_coding): DEFVAR it.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 17 Dec 2002 11:39:13 +0000 |
parents | f6c59ca557c7 |
children | 1ad5bfbb831a |
comparison
equal
deleted
inserted
replaced
48873:172d3103dde0 | 48874:3002a87cc629 |
---|---|
364 Lisp_Object Qcall_process, Qcall_process_region, Qprocess_argument; | 364 Lisp_Object Qcall_process, Qcall_process_region, Qprocess_argument; |
365 Lisp_Object Qstart_process, Qopen_network_stream; | 365 Lisp_Object Qstart_process, Qopen_network_stream; |
366 Lisp_Object Qtarget_idx; | 366 Lisp_Object Qtarget_idx; |
367 | 367 |
368 Lisp_Object Vselect_safe_coding_system_function; | 368 Lisp_Object Vselect_safe_coding_system_function; |
369 | |
370 int coding_system_require_warning; | |
369 | 371 |
370 /* Mnemonic string for each format of end-of-line. */ | 372 /* Mnemonic string for each format of end-of-line. */ |
371 Lisp_Object eol_mnemonic_unix, eol_mnemonic_dos, eol_mnemonic_mac; | 373 Lisp_Object eol_mnemonic_unix, eol_mnemonic_dos, eol_mnemonic_mac; |
372 /* Mnemonic string to indicate format of end-of-line is not yet | 374 /* Mnemonic string to indicate format of end-of-line is not yet |
373 decided. */ | 375 decided. */ |
7529 coding system used in each operation can't encode the text. | 7531 coding system used in each operation can't encode the text. |
7530 | 7532 |
7531 The default value is `select-safe-coding-system' (which see). */); | 7533 The default value is `select-safe-coding-system' (which see). */); |
7532 Vselect_safe_coding_system_function = Qnil; | 7534 Vselect_safe_coding_system_function = Qnil; |
7533 | 7535 |
7536 DEFVAR_BOOL ("coding-system-require-warning", | |
7537 &coding_system_require_warning, | |
7538 doc: /* Internal use only. | |
7539 If non-nil, on writing a file, select-safe-coding-system-function is | |
7540 called even if coding-system-for-write is non-nil. The command | |
7541 universal-coding-system-argument binds this variable to t temporarily. */); | |
7542 coding_system_require_warning = 0; | |
7543 | |
7544 | |
7534 DEFVAR_LISP ("char-coding-system-table", &Vchar_coding_system_table, | 7545 DEFVAR_LISP ("char-coding-system-table", &Vchar_coding_system_table, |
7535 doc: /* Char-table containing safe coding systems of each characters. | 7546 doc: /* Char-table containing safe coding systems of each characters. |
7536 Each element doesn't include such generic coding systems that can | 7547 Each element doesn't include such generic coding systems that can |
7537 encode any characters. They are in the first extra slot. */); | 7548 encode any characters. They are in the first extra slot. */); |
7538 Vchar_coding_system_table = Fmake_char_table (Qchar_coding_system, Qnil); | 7549 Vchar_coding_system_table = Fmake_char_table (Qchar_coding_system, Qnil); |