Mercurial > emacs
changeset 6493:33a461f14903
(sort_overlays, Fmake_overlay): Use assignment, not initialization.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 23 Mar 1994 22:25:50 +0000 |
parents | 8372dce85f8a |
children | 00475922df29 |
files | src/buffer.c |
diffstat | 1 files changed, 7 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buffer.c Wed Mar 23 22:25:25 1994 +0000 +++ b/src/buffer.c Wed Mar 23 22:25:50 1994 +0000 @@ -1427,8 +1427,9 @@ for (i = 0, j = 0; i < noverlays; i++) { Lisp_Object tem; - Lisp_Object overlay = overlay_vec[i]; - + Lisp_Object overlay; + + overlay = overlay_vec[i]; if (OVERLAY_VALID (overlay) && OVERLAY_POSITION (OVERLAY_START (overlay)) > 0 && OVERLAY_POSITION (OVERLAY_END (overlay)) > 0) @@ -1664,8 +1665,8 @@ if (XINT (beg) > XINT (end)) { - Lisp_Object temp = beg; - beg = end; end = temp; + Lisp_Object temp; + temp = beg; beg = end; end = temp; } b = XBUFFER (buffer); @@ -1725,8 +1726,8 @@ if (XINT (beg) > XINT (end)) { - Lisp_Object temp = beg; - beg = end; end = temp; + Lisp_Object temp; + temp = beg; beg = end; end = temp; } obuffer = Fmarker_buffer (OVERLAY_START (overlay));