]> git.eshelyaron.com Git - emacs.git/commit
Add support for the min-width display property
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 24 Nov 2021 10:55:53 +0000 (11:55 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 24 Nov 2021 10:55:58 +0000 (11:55 +0100)
commita13b437c81f1f2e54555e7281480ea7e8eee8753
tree602c0751912e81fef3113bd47720bdad4d649e9e
parent8efee422e1915a000f7220e680e3165407171388
Add support for the min-width display property

* doc/lispref/display.texi (Display Property): Document
get-display-property.
(Other Display Specs): Document min-width property.

* src/dispextern.h (struct it): Add fields for min-width handling.

* src/xdisp.c (find_display_property, get_display_property): New
helper functions.
(display_min_width): Insert stretch glyphs based on the min width.
(Fget_display_property): New defun.
(handle_display_prop): Handle min-width ends.
(handle_single_display_spec): Handle min-width starts.
doc/lispref/display.texi
etc/NEWS
src/dispextern.h
src/xdisp.c
test/src/xdisp-tests.el