emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Kim F . Storm
Subject: [Emacs-diffs] Changes to emacs/src/editfns.c
Date: Sun, 12 Sep 2004 17:40:50 -0400

Index: emacs/src/editfns.c
diff -c emacs/src/editfns.c:1.377 emacs/src/editfns.c:1.378
*** emacs/src/editfns.c:1.377   Fri Jul 30 12:05:08 2004
--- emacs/src/editfns.c Sun Sep 12 21:35:14 2004
***************
*** 3668,3678 ****
  
          /* Adjust the bounds of each text property
             to the proper start and end in the output string.  */
-         /* We take advantage of the fact that the positions in PROPS
-            are in increasing order, so that we can do (effectively)
-            one scan through the position space of the format string.
  
!            BYTEPOS is the byte position in the format string,
             POSITION is the untranslated char position in it,
             TRANSLATED is the translated char position in BUF,
             and ARGN is the number of the next arg we will come to.  */
--- 3668,3680 ----
  
          /* Adjust the bounds of each text property
             to the proper start and end in the output string.  */
  
!         /* Put the positions in PROPS in increasing order, so that
!            we can do (effectively) one scan through the position
!            space of the format string.  */
!         props = Fnreverse (props);
! 
!         /* BYTEPOS is the byte position in the format string,
             POSITION is the untranslated char position in it,
             TRANSLATED is the translated char position in BUF,
             and ARGN is the number of the next arg we will come to.  */




reply via email to

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