From: Richard M. Stallman Date: Mon, 2 Jun 1997 00:32:20 +0000 (+0000) Subject: (Fwrite_region, build_annotations): X-Git-Tag: emacs-20.1~1839 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3cf29f61eae43e0e5dc1eb70324cb53e6aa9581e;p=emacs.git (Fwrite_region, build_annotations): Set start and end using XFASTINT. --- diff --git a/src/fileio.c b/src/fileio.c index fb4b4221854..143148193a4 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -3894,8 +3894,8 @@ to the file, instead of any buffer contents, and END is ignored.") 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 @@ build_annotations (start, end, pre_write_conversion) 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 @@ build_annotations (start, end, pre_write_conversion) original_buffer); if (current_buffer != given_buffer) { - start = BEGV; - end = ZV; + XSETFASTINT (start, BEGV); + XSETFASTINT (end, ZV); annotations = Qnil; } Flength (res);