Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3cf29f61
Commit
3cf29f61
authored
Jun 02, 1997
by
Richard M. Stallman
Browse files
(Fwrite_region, build_annotations):
Set start and end using XFASTINT.
parent
1b10fb77
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/fileio.c
src/fileio.c
+6
-6
No files found.
src/fileio.c
View file @
3cf29f61
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment