]> git.eshelyaron.com Git - emacs.git/commitdiff
(string_buffer_position): Use *single_char_property*
authorGerd Moellmann <gerd@gnu.org>
Wed, 5 Sep 2001 07:43:47 +0000 (07:43 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 5 Sep 2001 07:43:47 +0000 (07:43 +0000)
functions instead of the *single_property* functions.

src/xdisp.c

index 4e4f54f1d3df08b640a41586d580864986d4bfac..a683d8b09684afa10172e63dcd93950748a97c69 100644 (file)
@@ -3227,7 +3227,7 @@ string_buffer_position (w, string, around_charpos)
       if (!NILP (prop) && display_prop_string_p (prop, string))
        found = 1;
       else
-       pos = Fnext_single_property_change (pos, Qdisplay, Qnil, limit);
+       pos = Fnext_single_char_property_change (pos, Qdisplay, Qnil, limit);
     }
 
   if (!found)
@@ -3240,8 +3240,8 @@ string_buffer_position (w, string, around_charpos)
          if (!NILP (prop) && display_prop_string_p (prop, string))
            found = 1;
          else
-           pos = Fprevious_single_property_change (pos, Qdisplay, Qnil,
-                                                   limit);
+           pos = Fprevious_single_char_property_change (pos, Qdisplay, Qnil,
+                                                        limit);
        }
     }