diff options
Diffstat (limited to 'src/coding.h')
| -rw-r--r-- | src/coding.h | 49 |
1 files changed, 3 insertions, 46 deletions
diff --git a/src/coding.h b/src/coding.h index 7233726a250..6238a708e76 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -1,8 +1,7 @@ | |||
| 1 | /* Header for coding system handler. | 1 | /* Header for coding system handler. |
| 2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, | 2 | Copyright (C) 2001-2011 Free Software Foundation, Inc. |
| 3 | 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 5 | 2005, 2006, 2007, 2008, 2009, 2010 | 4 | 2005, 2006, 2007, 2008, 2009, 2010, 2011 |
| 6 | National Institute of Advanced Industrial Science and Technology (AIST) | 5 | National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | Registration Number H14PRO021 | 6 | Registration Number H14PRO021 |
| 8 | Copyright (C) 2003 | 7 | Copyright (C) 2003 |
| @@ -686,8 +685,7 @@ struct coding_system | |||
| 686 | ? code_convert_string_norecord (str, Vlocale_coding_system, 0) \ | 685 | ? code_convert_string_norecord (str, Vlocale_coding_system, 0) \ |
| 687 | : str) | 686 | : str) |
| 688 | 687 | ||
| 689 | /* Used by the gtk menu code. Note that this encodes utf-8, not | 688 | /* Note that this encodes utf-8, not utf-8-emacs, so it's not a no-op. */ |
| 690 | utf-8-emacs, so it's not a no-op. */ | ||
| 691 | #define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1) | 689 | #define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1) |
| 692 | 690 | ||
| 693 | /* Extern declarations. */ | 691 | /* Extern declarations. */ |
| @@ -770,11 +768,6 @@ extern Lisp_Object Qunix, Qdos, Qmac; | |||
| 770 | extern Lisp_Object Qtranslation_table; | 768 | extern Lisp_Object Qtranslation_table; |
| 771 | extern Lisp_Object Qtranslation_table_id; | 769 | extern Lisp_Object Qtranslation_table_id; |
| 772 | 770 | ||
| 773 | /* Mnemonic strings to indicate each type of end-of-line. */ | ||
| 774 | extern Lisp_Object eol_mnemonic_unix, eol_mnemonic_dos, eol_mnemonic_mac; | ||
| 775 | /* Mnemonic string to indicate type of end-of-line is not yet decided. */ | ||
| 776 | extern Lisp_Object eol_mnemonic_undecided; | ||
| 777 | |||
| 778 | #ifdef emacs | 771 | #ifdef emacs |
| 779 | extern Lisp_Object Qfile_coding_system; | 772 | extern Lisp_Object Qfile_coding_system; |
| 780 | extern Lisp_Object Qcall_process, Qcall_process_region; | 773 | extern Lisp_Object Qcall_process, Qcall_process_region; |
| @@ -783,44 +776,10 @@ extern Lisp_Object Qwrite_region; | |||
| 783 | 776 | ||
| 784 | extern char *emacs_strerror (int); | 777 | extern char *emacs_strerror (int); |
| 785 | 778 | ||
| 786 | /* Coding-system for reading files and receiving data from process. */ | ||
| 787 | extern Lisp_Object Vcoding_system_for_read; | ||
| 788 | /* Coding-system for writing files and sending data to process. */ | ||
| 789 | extern Lisp_Object Vcoding_system_for_write; | ||
| 790 | /* Coding-system actually used in the latest I/O. */ | ||
| 791 | extern Lisp_Object Vlast_coding_system_used; | ||
| 792 | /* Coding-system to use with system messages (e.g. strerror). */ | ||
| 793 | extern Lisp_Object Vlocale_coding_system; | ||
| 794 | |||
| 795 | /* If non-zero, process buffer inherits the coding system used to decode | ||
| 796 | the subprocess output. */ | ||
| 797 | extern int inherit_process_coding_system; | ||
| 798 | |||
| 799 | /* Coding system to be used to encode text for terminal display when | 779 | /* Coding system to be used to encode text for terminal display when |
| 800 | terminal coding system is nil. */ | 780 | terminal coding system is nil. */ |
| 801 | extern struct coding_system safe_terminal_coding; | 781 | extern struct coding_system safe_terminal_coding; |
| 802 | 782 | ||
| 803 | /* Default coding systems used for process I/O. */ | ||
| 804 | extern Lisp_Object Vdefault_process_coding_system; | ||
| 805 | |||
| 806 | /* Char table for translating Quail and self-inserting input. */ | ||
| 807 | extern Lisp_Object Vtranslation_table_for_input; | ||
| 808 | |||
| 809 | /* Function to call to force a user to force select a propert coding | ||
| 810 | system. */ | ||
| 811 | extern Lisp_Object Vselect_safe_coding_system_function; | ||
| 812 | |||
| 813 | /* If nonzero, on writing a file, Vselect_safe_coding_system_function | ||
| 814 | is called even if Vcoding_system_for_write is non-nil. */ | ||
| 815 | extern int coding_system_require_warning; | ||
| 816 | |||
| 817 | /* Coding system for file names, or nil if none. */ | ||
| 818 | extern Lisp_Object Vfile_name_coding_system; | ||
| 819 | |||
| 820 | /* Coding system for file names used only when | ||
| 821 | Vfile_name_coding_system is nil. */ | ||
| 822 | extern Lisp_Object Vdefault_file_name_coding_system; | ||
| 823 | |||
| 824 | #endif | 783 | #endif |
| 825 | 784 | ||
| 826 | /* Error signaled when there's a problem with detecting coding system */ | 785 | /* Error signaled when there's a problem with detecting coding system */ |
| @@ -831,5 +790,3 @@ extern int emacs_mule_string_char (unsigned char *); | |||
| 831 | 790 | ||
| 832 | #endif /* EMACS_CODING_H */ | 791 | #endif /* EMACS_CODING_H */ |
| 833 | 792 | ||
| 834 | /* arch-tag: 2bc3b4fa-6870-4f64-8135-b962b2d290e4 | ||
| 835 | (do not change this comment) */ | ||