diff options
| author | Gerd Moellmann | 2001-09-05 07:43:47 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-09-05 07:43:47 +0000 |
| commit | 134d928342e69cebb6682a199629efaca0c6c821 (patch) | |
| tree | 3e4cc33ef187cc6a891bf57430a7fec175c6366f | |
| parent | 8f8601801d2b0317036d34b486d074b96722bb70 (diff) | |
| download | emacs-134d928342e69cebb6682a199629efaca0c6c821.tar.gz emacs-134d928342e69cebb6682a199629efaca0c6c821.zip | |
(string_buffer_position): Use *single_char_property*
functions instead of the *single_property* functions.
| -rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 4e4f54f1d3d..a683d8b0968 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -3227,7 +3227,7 @@ string_buffer_position (w, string, around_charpos) | |||
| 3227 | if (!NILP (prop) && display_prop_string_p (prop, string)) | 3227 | if (!NILP (prop) && display_prop_string_p (prop, string)) |
| 3228 | found = 1; | 3228 | found = 1; |
| 3229 | else | 3229 | else |
| 3230 | pos = Fnext_single_property_change (pos, Qdisplay, Qnil, limit); | 3230 | pos = Fnext_single_char_property_change (pos, Qdisplay, Qnil, limit); |
| 3231 | } | 3231 | } |
| 3232 | 3232 | ||
| 3233 | if (!found) | 3233 | if (!found) |
| @@ -3240,8 +3240,8 @@ string_buffer_position (w, string, around_charpos) | |||
| 3240 | if (!NILP (prop) && display_prop_string_p (prop, string)) | 3240 | if (!NILP (prop) && display_prop_string_p (prop, string)) |
| 3241 | found = 1; | 3241 | found = 1; |
| 3242 | else | 3242 | else |
| 3243 | pos = Fprevious_single_property_change (pos, Qdisplay, Qnil, | 3243 | pos = Fprevious_single_char_property_change (pos, Qdisplay, Qnil, |
| 3244 | limit); | 3244 | limit); |
| 3245 | } | 3245 | } |
| 3246 | } | 3246 | } |
| 3247 | 3247 | ||