/[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.58.4.1 by handa, Mon Sep 8 12:48:09 2003 UTC
# Line 27  Boston, MA 02111-1307, USA.  */ Line 27  Boston, MA 02111-1307, USA.  */
27  #include "commands.h"  #include "commands.h"
28  #include "buffer.h"  #include "buffer.h"
29  #include "window.h"  #include "window.h"
30  #include "charset.h"  #include "character.h"
31  #include "syntax.h"  #include "syntax.h"
32    
33  /* An abbrev table is an obarray.  /* An abbrev table is an obarray.
# Line 385  Returns the abbrev symbol, if expansion Line 385  Returns the abbrev symbol, if expansion
385            int pos = wordstart_byte;            int pos = wordstart_byte;
386    
387            /* Find the initial.  */            /* Find the initial.  */
388            while (pos < PT_BYTE            if (multibyte)
389                   && SYNTAX (*BUF_BYTE_ADDRESS (current_buffer, pos)) != Sword)              while (pos < PT_BYTE
390              pos++;                     && SYNTAX (FETCH_MULTIBYTE_CHAR (pos)) != Sword)
391                  INC_POS (pos);
392              else
393                while (pos < PT_BYTE
394                       && (SYNTAX (*BUF_BYTE_ADDRESS (current_buffer, pos))
395                           != Sword))
396                  pos++;
397    
398            /* Change just that.  */            /* Change just that.  */
399            pos = BYTE_TO_CHAR (pos);            pos = BYTE_TO_CHAR (pos);

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

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