diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-06-02 00:32:20 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-06-02 00:32:20 +0000 |
commit | 9c88a4f7bb81dcc973dc7a6b43572f687de66af9 (patch) | |
tree | 45843175d0ab10638274eaa816fadc121a6b675b /src | |
parent | fe6d5ba6957e93a267c464d9241d90dd072f4684 (diff) | |
download | emacs-9c88a4f7bb81dcc973dc7a6b43572f687de66af9.tar.gz |
(Fwrite_region, build_annotations):
Set start and end using XFASTINT.
Diffstat (limited to 'src')
-rw-r--r-- | src/fileio.c | 12 |
1 files changed, 6 insertions, 6 deletions
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); |