aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorEli Zaretskii2024-08-25 10:24:35 +0300
committerEli Zaretskii2024-08-25 10:24:35 +0300
commit71505b723c9fb9de20f6d38be7c73d595e9be3ce (patch)
tree020a27270c21cedae068b09d9d0adb5a914785bb /java
parent8a94cee3b58a59eac6ca24c001769f0fe12bf020 (diff)
downloademacs-71505b723c9fb9de20f6d38be7c73d595e9be3ce.tar.gz
emacs-71505b723c9fb9de20f6d38be7c73d595e9be3ce.zip
Fix handling of 'min-width' display property
* src/xdisp.c (get_display_property, display_min_width): Rename BUFPOS to CHARPOS, to avoid confusion (it is not necessarily a buffer position). Suggested by Jim Porter <jporterbugs@gmail.com>. (get_display_property): Call 'Fget_char_property' to support 'min-width' properties of overlays as well. (display_min_width): Handle the buffer and string cases more accurately, without relying only on the values of positions. (handle_display_prop, handle_single_display_spec): Pass correct position to 'display_min_width', when iterating over a string. (handle_display_prop): When OBJECT is a window, pass it to display_min_width. (set_iterator_to_next): Call 'display_min_width' when at end of a display or overlay string. (Bug#72721) * etc/NEWS: Announce the support for overlays.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions