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 [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/editfns.c [lexbind]
Date: Wed, 15 Sep 2004 20:32:55 -0400

Index: emacs/src/editfns.c
diff -c emacs/src/editfns.c:1.330.2.13 emacs/src/editfns.c:1.330.2.14
*** emacs/src/editfns.c:1.330.2.13      Sat Sep  4 09:19:27 2004
--- emacs/src/editfns.c Thu Sep 16 00:15:00 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]