diff options
| author | Eli Zaretskii | 2024-04-27 06:23:46 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2024-04-27 06:23:46 -0400 |
| commit | 687c4137fa473031bc62aa0d41aec74df4f1e5af (patch) | |
| tree | b78b4eba22fd0f5e8a6ab16cd820521c8ea3a25e /src | |
| parent | b761a381066ca2fdeb510c0d5a88be58b524685d (diff) | |
| parent | f37f01b5046b510656d0f2ace22168a222f6481a (diff) | |
| download | emacs-687c4137fa473031bc62aa0d41aec74df4f1e5af.tar.gz emacs-687c4137fa473031bc62aa0d41aec74df4f1e5af.zip | |
Merge from origin/emacs-29
f37f01b5046 Fix a typo in Introduction to Emacs Lisp (bug#70571).
d8687fd6cd8 Fix last change
494dfd9cf2b Fix indentation of if/else in 'csharp-ts-mode' (bug#70345)
1cc6322e612 ; * etc/PROBLEMS: Document crashes due to tree-sitter ABI...
42766f95e5c * build-aux/make-info-dir: Avoid bashism (bug#70484).
81476fa19e8 Improve documentation of selection and navigation in *xre...
2a533514929 Fix Widget manual typos, markup and omissions (bug#70502)
90be3015b4d ; Document bookmark fringe mark in the user manual
afd0b548fcc Fix python-ts-mode built-in functions and attributes (bug...
dc720decc3a Fix markup and indexing in the Calendar chapter of user m...
f593bf79a91 Fix the user manual for `calendar-time-zone-style'
aed2b7a3d82 Avoid assertion violations in 'push_prefix_prop'
c929532b469 Remove ert-equal-including-properties from manual
e3aae5fd385 ; Document 'filtered-frame-list'
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispextern.h | 4 | ||||
| -rw-r--r-- | src/xdisp.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index 7a942ec79dc..1614a044cbf 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -2422,7 +2422,9 @@ struct it | |||
| 2422 | bool_bf string_from_display_prop_p : 1; | 2422 | bool_bf string_from_display_prop_p : 1; |
| 2423 | 2423 | ||
| 2424 | /* True means `string' comes from a `line-prefix' or `wrap-prefix' | 2424 | /* True means `string' comes from a `line-prefix' or `wrap-prefix' |
| 2425 | property. */ | 2425 | property, and that these properties were already handled, even if |
| 2426 | their value is not a string. This is used to avoid processing | ||
| 2427 | the same line/wrap prefix more than once for the same glyph row. */ | ||
| 2426 | bool_bf string_from_prefix_prop_p : 1; | 2428 | bool_bf string_from_prefix_prop_p : 1; |
| 2427 | 2429 | ||
| 2428 | /* True means we are iterating an object that came from a value of a | 2430 | /* True means we are iterating an object that came from a value of a |
diff --git a/src/xdisp.c b/src/xdisp.c index 72a217513ef..85802ec5083 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -24415,6 +24415,7 @@ push_prefix_prop (struct it *it, Lisp_Object prop) | |||
| 24415 | { | 24415 | { |
| 24416 | it->method = GET_FROM_STRETCH; | 24416 | it->method = GET_FROM_STRETCH; |
| 24417 | it->object = prop; | 24417 | it->object = prop; |
| 24418 | it->string_from_prefix_prop_p = true; | ||
| 24418 | } | 24419 | } |
| 24419 | #ifdef HAVE_WINDOW_SYSTEM | 24420 | #ifdef HAVE_WINDOW_SYSTEM |
| 24420 | else if (IMAGEP (prop)) | 24421 | else if (IMAGEP (prop)) |
| @@ -24422,6 +24423,7 @@ push_prefix_prop (struct it *it, Lisp_Object prop) | |||
| 24422 | it->what = IT_IMAGE; | 24423 | it->what = IT_IMAGE; |
| 24423 | it->image_id = lookup_image (it->f, prop, it->face_id); | 24424 | it->image_id = lookup_image (it->f, prop, it->face_id); |
| 24424 | it->method = GET_FROM_IMAGE; | 24425 | it->method = GET_FROM_IMAGE; |
| 24426 | it->string_from_prefix_prop_p = true; | ||
| 24425 | } | 24427 | } |
| 24426 | #endif /* HAVE_WINDOW_SYSTEM */ | 24428 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 24427 | else | 24429 | else |