[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/coding.c
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/coding.c |
Date: |
Wed, 29 Jan 2003 21:23:13 -0500 |
Index: emacs/src/coding.c
diff -c emacs/src/coding.c:1.265 emacs/src/coding.c:1.266
*** emacs/src/coding.c:1.265 Thu Dec 12 21:35:51 2002
--- emacs/src/coding.c Tue Dec 17 06:39:13 2002
***************
*** 367,372 ****
--- 367,374 ----
Lisp_Object Vselect_safe_coding_system_function;
+ int coding_system_require_warning;
+
/* Mnemonic string for each format of end-of-line. */
Lisp_Object eol_mnemonic_unix, eol_mnemonic_dos, eol_mnemonic_mac;
/* Mnemonic string to indicate format of end-of-line is not yet
***************
*** 7530,7535 ****
--- 7532,7546 ----
The default value is `select-safe-coding-system' (which see). */);
Vselect_safe_coding_system_function = Qnil;
+
+ DEFVAR_BOOL ("coding-system-require-warning",
+ &coding_system_require_warning,
+ doc: /* Internal use only.
+ If non-nil, on writing a file, select-safe-coding-system-function is
+ called even if coding-system-for-write is non-nil. The command
+ universal-coding-system-argument binds this variable to t temporarily. */);
+ coding_system_require_warning = 0;
+
DEFVAR_LISP ("char-coding-system-table", &Vchar_coding_system_table,
doc: /* Char-table containing safe coding systems of each
characters.