emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: format, concat and text properties


From: Richard M. Stallman
Subject: Re: format, concat and text properties
Date: Thu, 27 Oct 2005 23:48:45 -0400

Does this fix it?

*** editfns.c   24 Oct 2005 19:43:35 -0400      1.403
--- editfns.c   27 Oct 2005 23:34:00 -0400      
***************
*** 3662,3668 ****
                    ++nchars;
                  }
  
!             start = nchars;
              nchars += nchars_string;
              end = nchars;
  
--- 3662,3668 ----
                    ++nchars;
                  }
  
!             info[n].start = start = nchars;
              nchars += nchars_string;
              end = nchars;
  
***************
*** 3677,3682 ****
--- 3677,3684 ----
                              nbytes,
                              STRING_MULTIBYTE (args[n]), multibyte);
  
+             info[n].end = nchars;
+ 
              if (negative)
                while (padding-- > 0)
                  {
***************
*** 3713,3721 ****
              else
                p += this_nchars;
              nchars += this_nchars;
            }
  
-         info[n].end = nchars;
        }
        else if (STRING_MULTIBYTE (args[0]))
        {
--- 3715,3723 ----
              else
                p += this_nchars;
              nchars += this_nchars;
+             info[n].end = nchars;
            }
  
        }
        else if (STRING_MULTIBYTE (args[0]))
        {




reply via email to

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