* 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.
This commit is contained in:
parent
3f781c75ac
commit
a2f07cd282
2 changed files with 6 additions and 5 deletions
|
|
@ -1,3 +1,9 @@
|
|||
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>
|
||||
|
||||
* w32.c (acl_get_file, acl_set_file): Run the file name through
|
||||
|
|
|
|||
|
|
@ -8426,9 +8426,6 @@ highest priority. */)
|
|||
ptrdiff_t from, to;
|
||||
ptrdiff_t from_byte, to_byte;
|
||||
|
||||
CHECK_NUMBER_COERCE_MARKER (start);
|
||||
CHECK_NUMBER_COERCE_MARKER (end);
|
||||
|
||||
validate_region (&start, &end);
|
||||
from = XINT (start), to = XINT (end);
|
||||
from_byte = CHAR_TO_BYTE (from);
|
||||
|
|
@ -8872,8 +8869,6 @@ code_convert_region (Lisp_Object start, Lisp_Object end,
|
|||
ptrdiff_t from, from_byte, to, to_byte;
|
||||
Lisp_Object src_object;
|
||||
|
||||
CHECK_NUMBER_COERCE_MARKER (start);
|
||||
CHECK_NUMBER_COERCE_MARKER (end);
|
||||
if (NILP (coding_system))
|
||||
coding_system = Qno_conversion;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue