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

Diff of /emacs/src/abbrev.c

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

revision 1.58 by monnier, Thu Apr 17 21:44:50 2003 UTC revision 1.59 by rms, Fri Aug 29 16:14:26 2003 UTC
# Line 356  Returns the abbrev symbol, if expansion Line 356  Returns the abbrev symbol, if expansion
356      {      {
357        SET_PT (wordstart);        SET_PT (wordstart);
358    
       del_range_both (wordstart, wordstart_byte, wordend, wordend_byte, 1);  
   
359        insert_from_string (expansion, 0, 0, SCHARS (expansion),        insert_from_string (expansion, 0, 0, SCHARS (expansion),
360                            SBYTES (expansion), 1);                            SBYTES (expansion), 1);
361          del_range_both (PT, PT_BYTE,
362                          wordend + (PT - wordstart),
363                          wordend_byte + (PT_BYTE - wordstart_byte),
364                          1);
365    
366        SET_PT (PT + whitecnt);        SET_PT (PT + whitecnt);
367    
368        if (uccount && !lccount)        if (uccount && !lccount)

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59

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