diff options
| author | Tom Tromey | 2013-01-05 19:36:45 -0700 |
|---|---|---|
| committer | Tom Tromey | 2013-01-05 19:36:45 -0700 |
| commit | e078a23febca14bc919c5806670479c395e3253e (patch) | |
| tree | e9e4ed91feef744d525264c31974c3ed00146bcd /src/coding.c | |
| parent | 63d535c829a930207b64fe733228f15a554644b1 (diff) | |
| parent | 7a2657fa3bedbd977f4e11fe030cb4a210c04ab4 (diff) | |
| download | emacs-e078a23febca14bc919c5806670479c395e3253e.tar.gz emacs-e078a23febca14bc919c5806670479c395e3253e.zip | |
merge from trunk
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/coding.c b/src/coding.c index 56202e4861d..5285a906823 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Coding system handler (conversion, detection, etc). | 1 | /* Coding system handler (conversion, detection, etc). |
| 2 | Copyright (C) 2001-2012 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2013 Free Software Foundation, Inc. |
| 3 | 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, |
| 4 | 2005, 2006, 2007, 2008, 2009, 2010, 2011 | 4 | 2005, 2006, 2007, 2008, 2009, 2010, 2011 |
| 5 | National Institute of Advanced Industrial Science and Technology (AIST) | 5 | National Institute of Advanced Industrial Science and Technology (AIST) |
| @@ -302,6 +302,7 @@ Lisp_Object Vcoding_system_hash_table; | |||
| 302 | static Lisp_Object Qcoding_system, Qeol_type; | 302 | static Lisp_Object Qcoding_system, Qeol_type; |
| 303 | static Lisp_Object Qcoding_aliases; | 303 | static Lisp_Object Qcoding_aliases; |
| 304 | Lisp_Object Qunix, Qdos; | 304 | Lisp_Object Qunix, Qdos; |
| 305 | static Lisp_Object Qmac; | ||
| 305 | Lisp_Object Qbuffer_file_coding_system; | 306 | Lisp_Object Qbuffer_file_coding_system; |
| 306 | static Lisp_Object Qpost_read_conversion, Qpre_write_conversion; | 307 | static Lisp_Object Qpost_read_conversion, Qpre_write_conversion; |
| 307 | static Lisp_Object Qdefault_char; | 308 | static Lisp_Object Qdefault_char; |
| @@ -8426,9 +8427,6 @@ highest priority. */) | |||
| 8426 | ptrdiff_t from, to; | 8427 | ptrdiff_t from, to; |
| 8427 | ptrdiff_t from_byte, to_byte; | 8428 | ptrdiff_t from_byte, to_byte; |
| 8428 | 8429 | ||
| 8429 | CHECK_NUMBER_COERCE_MARKER (start); | ||
| 8430 | CHECK_NUMBER_COERCE_MARKER (end); | ||
| 8431 | |||
| 8432 | validate_region (&start, &end); | 8430 | validate_region (&start, &end); |
| 8433 | from = XINT (start), to = XINT (end); | 8431 | from = XINT (start), to = XINT (end); |
| 8434 | from_byte = CHAR_TO_BYTE (from); | 8432 | from_byte = CHAR_TO_BYTE (from); |
| @@ -8872,8 +8870,6 @@ code_convert_region (Lisp_Object start, Lisp_Object end, | |||
| 8872 | ptrdiff_t from, from_byte, to, to_byte; | 8870 | ptrdiff_t from, from_byte, to, to_byte; |
| 8873 | Lisp_Object src_object; | 8871 | Lisp_Object src_object; |
| 8874 | 8872 | ||
| 8875 | CHECK_NUMBER_COERCE_MARKER (start); | ||
| 8876 | CHECK_NUMBER_COERCE_MARKER (end); | ||
| 8877 | if (NILP (coding_system)) | 8873 | if (NILP (coding_system)) |
| 8878 | coding_system = Qno_conversion; | 8874 | coding_system = Qno_conversion; |
| 8879 | else | 8875 | else |
| @@ -10308,6 +10304,7 @@ syms_of_coding (void) | |||
| 10308 | DEFSYM (Qeol_type, "eol-type"); | 10304 | DEFSYM (Qeol_type, "eol-type"); |
| 10309 | DEFSYM (Qunix, "unix"); | 10305 | DEFSYM (Qunix, "unix"); |
| 10310 | DEFSYM (Qdos, "dos"); | 10306 | DEFSYM (Qdos, "dos"); |
| 10307 | DEFSYM (Qmac, "mac"); | ||
| 10311 | 10308 | ||
| 10312 | DEFSYM (Qbuffer_file_coding_system, "buffer-file-coding-system"); | 10309 | DEFSYM (Qbuffer_file_coding_system, "buffer-file-coding-system"); |
| 10313 | DEFSYM (Qpost_read_conversion, "post-read-conversion"); | 10310 | DEFSYM (Qpost_read_conversion, "post-read-conversion"); |