Mercurial > emacs
diff src/fileio.c @ 18107:7e13abad5cca
(Fwrite_region, build_annotations):
Set start and end using XFASTINT.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 02 Jun 1997 00:32:20 +0000 |
parents | 7b3eb9189759 |
children | d84dde1fad16 |
line wrap: on
line diff
--- a/src/fileio.c Mon Jun 02 00:28:46 1997 +0000 +++ b/src/fileio.c Mon Jun 02 00:32:20 1997 +0000 @@ -3894,8 +3894,8 @@ annotations = build_annotations (start, end, coding.pre_write_conversion); if (current_buffer != given_buffer) { - start = BEGV; - end = ZV; + XSETFASTINT (start, BEGV); + XSETFASTINT (end, ZV); } #ifdef CLASH_DETECTION @@ -4205,8 +4205,8 @@ been dealt with by this function. */ if (current_buffer != given_buffer) { - start = BEGV; - end = ZV; + XSETFASTINT (start, BEGV); + XSETFASTINT (end, ZV); annotations = Qnil; } Flength (res); /* Check basic validity of return value */ @@ -4227,8 +4227,8 @@ original_buffer); if (current_buffer != given_buffer) { - start = BEGV; - end = ZV; + XSETFASTINT (start, BEGV); + XSETFASTINT (end, ZV); annotations = Qnil; } Flength (res);