diff options
| author | Miles Bader | 2000-07-15 15:17:11 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-07-15 15:17:11 +0000 |
| commit | 016b5642845a800c54fce1129d141785e8acb669 (patch) | |
| tree | 7335d4dd4832b635e15723602c8d8e6a796fce3e /src | |
| parent | b7e047fb96994980c4262f591299662e468af3c4 (diff) | |
| download | emacs-016b5642845a800c54fce1129d141785e8acb669.tar.gz emacs-016b5642845a800c54fce1129d141785e8acb669.zip | |
(display_prop_end, invisible_text_between_p):
Call Fnext_single_char_property_change instead of
next_single_char_property_change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 1f211b4d002..bdb0d84d3e1 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -2302,8 +2302,8 @@ display_prop_end (it, object, start_pos) | |||
| 2302 | Lisp_Object end; | 2302 | Lisp_Object end; |
| 2303 | struct text_pos end_pos; | 2303 | struct text_pos end_pos; |
| 2304 | 2304 | ||
| 2305 | end = next_single_char_property_change (make_number (CHARPOS (start_pos)), | 2305 | end = Fnext_single_char_property_change (make_number (CHARPOS (start_pos)), |
| 2306 | Qdisplay, object, Qnil); | 2306 | Qdisplay, object, Qnil); |
| 2307 | CHARPOS (end_pos) = XFASTINT (end); | 2307 | CHARPOS (end_pos) = XFASTINT (end); |
| 2308 | if (STRINGP (object)) | 2308 | if (STRINGP (object)) |
| 2309 | compute_string_pos (&end_pos, start_pos, it->string); | 2309 | compute_string_pos (&end_pos, start_pos, it->string); |
| @@ -4660,9 +4660,9 @@ invisible_text_between_p (it, start_charpos, end_charpos) | |||
| 4660 | invisible_found_p = 1; | 4660 | invisible_found_p = 1; |
| 4661 | else | 4661 | else |
| 4662 | { | 4662 | { |
| 4663 | limit = next_single_char_property_change (make_number (start_charpos), | 4663 | limit = Fnext_single_char_property_change (make_number (start_charpos), |
| 4664 | Qinvisible, Qnil, | 4664 | Qinvisible, Qnil, |
| 4665 | make_number (end_charpos)); | 4665 | make_number (end_charpos)); |
| 4666 | invisible_found_p = XFASTINT (limit) < end_charpos; | 4666 | invisible_found_p = XFASTINT (limit) < end_charpos; |
| 4667 | } | 4667 | } |
| 4668 | 4668 | ||