emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/doc.c


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/src/doc.c
Date: Thu, 17 Apr 2003 17:58:34 -0400

Index: emacs/src/doc.c
diff -c emacs/src/doc.c:1.99 emacs/src/doc.c:1.100
*** emacs/src/doc.c:1.99        Tue Feb  4 09:03:12 2003
--- emacs/src/doc.c     Thu Apr 17 17:58:34 2003
***************
*** 725,731 ****
    bsize = SBYTES (string);
    bufp = buf = (unsigned char *) xmalloc (bsize);
  
!   strp = (unsigned char *) SDATA (string);
    while (strp < SDATA (string) + SBYTES (string))
      {
        if (strp[0] == '\\' && strp[1] == '=')
--- 725,731 ----
    bsize = SBYTES (string);
    bufp = buf = (unsigned char *) xmalloc (bsize);
  
!   strp = SDATA (string);
    while (strp < SDATA (string) + SBYTES (string))
      {
        if (strp[0] == '\\' && strp[1] == '=')
***************
*** 761,767 ****
          start = strp;
          start_idx = start - SDATA (string);
  
!         while ((strp - (unsigned char *) SDATA (string)
                  < SBYTES (string))
                 && *strp != ']')
            strp++;
--- 761,767 ----
          start = strp;
          start_idx = start - SDATA (string);
  
!         while ((strp - SDATA (string)
                  < SBYTES (string))
                 && *strp != ']')
            strp++;
***************
*** 770,776 ****
          strp++;               /* skip ] */
  
          /* Save STRP in IDX.  */
!         idx = strp - (unsigned char *) SDATA (string);
          tem = Fintern (make_string (start, length_byte), Qnil);
  
          /* Note the Fwhere_is_internal can GC, so we have to take
--- 770,776 ----
          strp++;               /* skip ] */
  
          /* Save STRP in IDX.  */
!         idx = strp - SDATA (string);
          tem = Fintern (make_string (start, length_byte), Qnil);
  
          /* Note the Fwhere_is_internal can GC, so we have to take
***************
*** 821,828 ****
          start = strp;
          start_idx = start - SDATA (string);
  
!         while ((strp - (unsigned char *) SDATA (string)
!                 < SCHARS (string))
                 && *strp != '}' && *strp != '>')
            strp++;
  
--- 821,827 ----
          start = strp;
          start_idx = start - SDATA (string);
  
!         while ((strp - SDATA (string) < SCHARS (string))
                 && *strp != '}' && *strp != '>')
            strp++;
  
***************
*** 830,836 ****
          strp++;                       /* skip } or > */
  
          /* Save STRP in IDX.  */
!         idx = strp - (unsigned char *) SDATA (string);
  
          /* Get the value of the keymap in TEM, or nil if undefined.
             Do this while still in the user's current buffer
--- 829,835 ----
          strp++;                       /* skip } or > */
  
          /* Save STRP in IDX.  */
!         idx = strp - SDATA (string);
  
          /* Get the value of the keymap in TEM, or nil if undefined.
             Do this while still in the user's current buffer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]