/[emacs]/emacs/src/fileio.c
ViewVC logotype

Diff of /emacs/src/fileio.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.449.2.18 by miles, Thu Sep 16 00:12:25 2004 UTC revision 1.449.2.19 by miles, Thu Sep 16 00:15:01 2004 UTC
# Line 1  Line 1 
1  /* File IO for GNU Emacs.  /* File IO for GNU Emacs.
2     Copyright (C) 1985,86,87,88,93,94,95,96,97,98,99,2000,01,03,2004     Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1996, 1997, 1998,
3       Free Software Foundation, Inc.       1999, 2000, 2001, 2003, 2004  Free Software Foundation, Inc.
4    
5  This file is part of GNU Emacs.  This file is part of GNU Emacs.
6    
# Line 4327  actually used.  */) Line 4327  actually used.  */)
4327        /* Replace the chars that we need to replace,        /* Replace the chars that we need to replace,
4328           and update INSERTED to equal the number of bytes           and update INSERTED to equal the number of bytes
4329           we are taking from the file.  */           we are taking from the file.  */
4330        inserted -= (Z_BYTE - same_at_end) + (same_at_start - BEG_BYTE);        inserted -= (ZV_BYTE - same_at_end) + (same_at_start - BEGV_BYTE);
4331    
4332        if (same_at_end != same_at_start)        if (same_at_end != same_at_start)
4333          {          {
# Line 4341  actually used.  */) Line 4341  actually used.  */)
4341          }          }
4342        /* Insert from the file at the proper position.  */        /* Insert from the file at the proper position.  */
4343        SET_PT_BOTH (temp, same_at_start);        SET_PT_BOTH (temp, same_at_start);
4344        insert_1 (conversion_buffer + same_at_start - BEG_BYTE, inserted,        insert_1 (conversion_buffer + same_at_start - BEGV_BYTE, inserted,
4345                  0, 0, 0);                  0, 0, 0);
4346        if (coding.cmp_data && coding.cmp_data->used)        if (coding.cmp_data && coding.cmp_data->used)
4347          coding_restore_composition (&coding, Fcurrent_buffer ());          coding_restore_composition (&coding, Fcurrent_buffer ());

Legend:
Removed from v.1.449.2.18  
changed lines
  Added in v.1.449.2.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26