aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorKarl Heuer1994-03-23 22:25:50 +0000
committerKarl Heuer1994-03-23 22:25:50 +0000
commitc99fc30f5659db76b1352444038546312c96ebdf (patch)
treeab8d55b2644fddf1cb8a430a11bcd7db2829c50c /src/buffer.c
parentc13ccad2a69a3691ee29597d1a8fe78160c36afb (diff)
downloademacs-c99fc30f5659db76b1352444038546312c96ebdf.tar.gz
emacs-c99fc30f5659db76b1352444038546312c96ebdf.zip
(sort_overlays, Fmake_overlay): Use assignment, not initialization.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 43097ab1bee..b76a024cd32 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1427,8 +1427,9 @@ sort_overlays (overlay_vec, noverlays, w)
1427 for (i = 0, j = 0; i < noverlays; i++) 1427 for (i = 0, j = 0; i < noverlays; i++)
1428 { 1428 {
1429 Lisp_Object tem; 1429 Lisp_Object tem;
1430 Lisp_Object overlay = overlay_vec[i]; 1430 Lisp_Object overlay;
1431 1431
1432 overlay = overlay_vec[i];
1432 if (OVERLAY_VALID (overlay) 1433 if (OVERLAY_VALID (overlay)
1433 && OVERLAY_POSITION (OVERLAY_START (overlay)) > 0 1434 && OVERLAY_POSITION (OVERLAY_START (overlay)) > 0
1434 && OVERLAY_POSITION (OVERLAY_END (overlay)) > 0) 1435 && OVERLAY_POSITION (OVERLAY_END (overlay)) > 0)
@@ -1664,8 +1665,8 @@ BEG and END may be integers or markers.")
1664 1665
1665 if (XINT (beg) > XINT (end)) 1666 if (XINT (beg) > XINT (end))
1666 { 1667 {
1667 Lisp_Object temp = beg; 1668 Lisp_Object temp;
1668 beg = end; end = temp; 1669 temp = beg; beg = end; end = temp;
1669 } 1670 }
1670 1671
1671 b = XBUFFER (buffer); 1672 b = XBUFFER (buffer);
@@ -1725,8 +1726,8 @@ buffer.")
1725 1726
1726 if (XINT (beg) > XINT (end)) 1727 if (XINT (beg) > XINT (end))
1727 { 1728 {
1728 Lisp_Object temp = beg; 1729 Lisp_Object temp;
1729 beg = end; end = temp; 1730 temp = beg; beg = end; end = temp;
1730 } 1731 }
1731 1732
1732 obuffer = Fmarker_buffer (OVERLAY_START (overlay)); 1733 obuffer = Fmarker_buffer (OVERLAY_START (overlay));