emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/editfns.c


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/src/editfns.c
Date: Wed, 09 Jul 2003 10:51:58 -0400

Index: emacs/src/editfns.c
diff -c emacs/src/editfns.c:1.358 emacs/src/editfns.c:1.359
*** emacs/src/editfns.c:1.358   Thu Jun 26 19:17:13 2003
--- emacs/src/editfns.c Wed Jul  9 10:51:57 2003
***************
*** 338,352 ****
       Lisp_Object *vec;
       int len;
  {
!   Lisp_Object tail, overlay, start, end;
    int startpos, endpos;
    int idx = 0;
  
!   for (tail = current_buffer->overlays_before;
!        GC_CONSP (tail);
!        tail = XCDR (tail))
      {
!       overlay = XCAR (tail);
  
        end = OVERLAY_END (overlay);
        endpos = OVERLAY_POSITION (end);
--- 338,351 ----
       Lisp_Object *vec;
       int len;
  {
!   Lisp_Object overlay, start, end;
!   struct Lisp_Overlay *tail;
    int startpos, endpos;
    int idx = 0;
  
!   for (tail = current_buffer->overlays_before; tail; tail = tail->next)
      {
!       XSETMISC (overlay, tail);
  
        end = OVERLAY_END (overlay);
        endpos = OVERLAY_POSITION (end);
***************
*** 363,373 ****
        }
      }
  
!   for (tail = current_buffer->overlays_after;
!        GC_CONSP (tail);
!        tail = XCDR (tail))
      {
!       overlay = XCAR (tail);
  
        start = OVERLAY_START (overlay);
        startpos = OVERLAY_POSITION (start);
--- 362,370 ----
        }
      }
  
!   for (tail = current_buffer->overlays_after; tail; tail = tail->next)
      {
!       XSETMISC (overlay, tail);
  
        start = OVERLAY_START (overlay);
        startpos = OVERLAY_POSITION (start);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]