summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-08-02 07:28:31 +0000
committerRichard M. Stallman <rms@gnu.org>1993-08-02 07:28:31 +0000
commitbe8b1c6b250b1400715685972428b9f76317f354 (patch)
tree1cb4a4b0f77c990fb3ca533d150b02cbd1137fc1 /src/buffer.c
parent23f87cce43f42f8e623da0fe8abeabd0af76022a (diff)
downloademacs-be8b1c6b250b1400715685972428b9f76317f354.tar.gz
(Fmove_overlay): Avoid initializer for Lisp_Object vars.
(verify_overlay_modification): Declare ostart, oend as Lisp_Object.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 5fbcad2c5d9..1b7bb6f9b75 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1616,10 +1616,12 @@ buffer.")
else
/* Redisplay the area the overlay has just left, or just enclosed. */
{
- Lisp_Object o_beg = OVERLAY_START (overlay);
- Lisp_Object o_end = OVERLAY_END (overlay);
+ Lisp_Object o_beg;
+ Lisp_Object o_end;
int change_beg, change_end;
+ o_beg = OVERLAY_START (overlay);
+ o_end = OVERLAY_END (overlay);
o_beg = OVERLAY_POSITION (o_beg);
o_end = OVERLAY_POSITION (o_end);
@@ -1903,7 +1905,7 @@ verify_overlay_modification (start, end)
tail = XCONS (tail)->cdr)
{
int startpos, endpos;
- int ostart, oend;
+ Lisp_Object ostart, oend;
overlay = XCONS (tail)->car;
@@ -1937,7 +1939,7 @@ verify_overlay_modification (start, end)
tail = XCONS (tail)->cdr)
{
int startpos, endpos;
- int ostart, oend;
+ Lisp_Object ostart, oend;
overlay = XCONS (tail)->car;