Commit a2f07cd2 authored by Dmitry Antipov's avatar Dmitry Antipov
Browse files

* coding.c (Fdetect_coding_region): Do not check start and end with

CHECK_NUMBER_COERCE_MARKER since validate_region does that itself.
(code_convert_region): Likewise.
parent 3f781c75
2012-12-19 Dmitry Antipov <dmantipov@yandex.ru>
* coding.c (Fdetect_coding_region): Do not check start and end with
CHECK_NUMBER_COERCE_MARKER since validate_region does that itself.
(code_convert_region): Likewise.
2012-12-18 Eli Zaretskii <eliz@gnu.org> 2012-12-18 Eli Zaretskii <eliz@gnu.org>
   
* w32.c (acl_get_file, acl_set_file): Run the file name through * w32.c (acl_get_file, acl_set_file): Run the file name through
......
...@@ -8426,9 +8426,6 @@ highest priority. */) ...@@ -8426,9 +8426,6 @@ highest priority. */)
ptrdiff_t from, to; ptrdiff_t from, to;
ptrdiff_t from_byte, to_byte; ptrdiff_t from_byte, to_byte;
CHECK_NUMBER_COERCE_MARKER (start);
CHECK_NUMBER_COERCE_MARKER (end);
validate_region (&start, &end); validate_region (&start, &end);
from = XINT (start), to = XINT (end); from = XINT (start), to = XINT (end);
from_byte = CHAR_TO_BYTE (from); from_byte = CHAR_TO_BYTE (from);
...@@ -8872,8 +8869,6 @@ code_convert_region (Lisp_Object start, Lisp_Object end, ...@@ -8872,8 +8869,6 @@ code_convert_region (Lisp_Object start, Lisp_Object end,
ptrdiff_t from, from_byte, to, to_byte; ptrdiff_t from, from_byte, to, to_byte;
Lisp_Object src_object; Lisp_Object src_object;
CHECK_NUMBER_COERCE_MARKER (start);
CHECK_NUMBER_COERCE_MARKER (end);
if (NILP (coding_system)) if (NILP (coding_system))
coding_system = Qno_conversion; coding_system = Qno_conversion;
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment