emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/src/fileio.c
Date: Tue, 22 Jul 2003 15:07:20 -0400

Index: emacs/src/fileio.c
diff -c emacs/src/fileio.c:1.491 emacs/src/fileio.c:1.492
*** emacs/src/fileio.c:1.491    Wed Jul  9 10:50:51 2003
--- emacs/src/fileio.c  Tue Jul 22 15:07:20 2003
***************
*** 3840,3851 ****
                  buffer = Fget_buffer_create (build_string (" 
*code-converting-work*"));
                  buf = XBUFFER (buffer);
  
                  buf->directory = current_buffer->directory;
                  buf->read_only = Qnil;
                  buf->filename = Qnil;
                  buf->undo_list = Qt;
!                 buf->overlays_before = NULL;
!                 buf->overlays_after = NULL;
  
                  set_buffer_internal (buf);
                  Ferase_buffer ();
--- 3840,3852 ----
                  buffer = Fget_buffer_create (build_string (" 
*code-converting-work*"));
                  buf = XBUFFER (buffer);
  
+                 delete_all_overlays (buf);
                  buf->directory = current_buffer->directory;
                  buf->read_only = Qnil;
                  buf->filename = Qnil;
                  buf->undo_list = Qt;
!                 eassert (buf->overlays_before == NULL);
!                 eassert (buf->overlays_after == NULL);
  
                  set_buffer_internal (buf);
                  Ferase_buffer ();




reply via email to

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