mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-17 19:30:38 -08:00
* 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
|
|
@ -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
Add a link
Reference in a new issue