[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/coding.c,v
From: |
Andreas Schwab |
Subject: |
[Emacs-diffs] Changes to emacs/src/coding.c,v |
Date: |
Mon, 03 Mar 2008 22:29:13 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Andreas Schwab <schwab> 08/03/03 22:29:12
Index: coding.c
===================================================================
RCS file: /sources/emacs/emacs/src/coding.c,v
retrieving revision 1.371
retrieving revision 1.372
diff -u -b -r1.371 -r1.372
--- coding.c 2 Mar 2008 19:56:45 -0000 1.371
+++ coding.c 3 Mar 2008 22:29:12 -0000 1.372
@@ -6925,6 +6925,7 @@
}
saved_pt = PT, saved_pt_byte = PT_BYTE;
TEMP_SET_PT_BOTH (from, from_byte);
+ current_buffer->text->inhibit_shrinking = 1;
del_range_both (from, from_byte, to, to_byte, 1);
coding->src_pos = -chars;
coding->src_pos_byte = -bytes;
@@ -7018,6 +7019,7 @@
As we have moved PT while replacing the original buffer
contents, we must recover it now. */
set_buffer_internal (XBUFFER (src_object));
+ current_buffer->text->inhibit_shrinking = 0;
if (saved_pt < from)
TEMP_SET_PT_BOTH (saved_pt, saved_pt_byte);
else if (saved_pt < from + chars)
- [Emacs-diffs] Changes to emacs/src/coding.c,v, Kenichi Handa, 2008/03/02
- [Emacs-diffs] Changes to emacs/src/coding.c,v, Andreas Schwab, 2008/03/02
- [Emacs-diffs] Changes to emacs/src/coding.c,v,
Andreas Schwab <=
- [Emacs-diffs] Changes to emacs/src/coding.c,v, Kenichi Handa, 2008/03/15
- [Emacs-diffs] Changes to emacs/src/coding.c,v, Stefan Monnier, 2008/03/25
- [Emacs-diffs] Changes to emacs/src/coding.c,v, Stefan Monnier, 2008/03/27
- [Emacs-diffs] Changes to emacs/src/coding.c,v, Stefan Monnier, 2008/03/27
- [Emacs-diffs] Changes to emacs/src/coding.c,v, Stefan Monnier, 2008/03/27