aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c
index 577a1b44691..3dba84efe63 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -367,6 +367,8 @@ Lisp_Object Qtarget_idx;
367 367
368Lisp_Object Vselect_safe_coding_system_function; 368Lisp_Object Vselect_safe_coding_system_function;
369 369
370int coding_system_require_warning;
371
370/* Mnemonic string for each format of end-of-line. */ 372/* Mnemonic string for each format of end-of-line. */
371Lisp_Object eol_mnemonic_unix, eol_mnemonic_dos, eol_mnemonic_mac; 373Lisp_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
@@ -7531,6 +7533,15 @@ coding system used in each operation can't encode the text.
7531The default value is `select-safe-coding-system' (which see). */); 7533The 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.
7539If non-nil, on writing a file, select-safe-coding-system-function is
7540called even if coding-system-for-write is non-nil. The command
7541universal-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.
7536Each element doesn't include such generic coding systems that can 7547Each element doesn't include such generic coding systems that can