[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/fileio.c [lexbind]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/src/fileio.c [lexbind] |
Date: |
Wed, 15 Sep 2004 20:33:00 -0400 |
Index: emacs/src/fileio.c
diff -c emacs/src/fileio.c:1.449.2.18 emacs/src/fileio.c:1.449.2.19
*** emacs/src/fileio.c:1.449.2.18 Thu Sep 16 00:12:25 2004
--- emacs/src/fileio.c Thu Sep 16 00:15:01 2004
***************
*** 1,6 ****
/* File IO for GNU Emacs.
! Copyright (C) 1985,86,87,88,93,94,95,96,97,98,99,2000,01,03,2004
! Free Software Foundation, Inc.
This file is part of GNU Emacs.
--- 1,6 ----
/* File IO for GNU Emacs.
! Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1996, 1997, 1998,
! 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Emacs.
***************
*** 4327,4333 ****
/* Replace the chars that we need to replace,
and update INSERTED to equal the number of bytes
we are taking from the file. */
! inserted -= (Z_BYTE - same_at_end) + (same_at_start - BEG_BYTE);
if (same_at_end != same_at_start)
{
--- 4327,4333 ----
/* Replace the chars that we need to replace,
and update INSERTED to equal the number of bytes
we are taking from the file. */
! inserted -= (ZV_BYTE - same_at_end) + (same_at_start - BEGV_BYTE);
if (same_at_end != same_at_start)
{
***************
*** 4341,4347 ****
}
/* Insert from the file at the proper position. */
SET_PT_BOTH (temp, same_at_start);
! insert_1 (conversion_buffer + same_at_start - BEG_BYTE, inserted,
0, 0, 0);
if (coding.cmp_data && coding.cmp_data->used)
coding_restore_composition (&coding, Fcurrent_buffer ());
--- 4341,4347 ----
}
/* Insert from the file at the proper position. */
SET_PT_BOTH (temp, same_at_start);
! insert_1 (conversion_buffer + same_at_start - BEGV_BYTE, inserted,
0, 0, 0);
if (coding.cmp_data && coding.cmp_data->used)
coding_restore_composition (&coding, Fcurrent_buffer ());
- [Emacs-diffs] Changes to emacs/src/fileio.c [lexbind], Miles Bader, 2004/09/04
- [Emacs-diffs] Changes to emacs/src/fileio.c [lexbind], Miles Bader, 2004/09/04
- [Emacs-diffs] Changes to emacs/src/fileio.c [lexbind], Miles Bader, 2004/09/04
- [Emacs-diffs] Changes to emacs/src/fileio.c [lexbind], Miles Bader, 2004/09/04
- [Emacs-diffs] Changes to emacs/src/fileio.c [lexbind], Miles Bader, 2004/09/04
- [Emacs-diffs] Changes to emacs/src/fileio.c [lexbind],
Miles Bader <=
- [Emacs-diffs] Changes to emacs/src/fileio.c [lexbind], Miles Bader, 2004/09/15