]> git.eshelyaron.com Git - emacs.git/commitdiff
Update documentation for 'width' slot of vtable ':column' object
authorJoost Kremers <joostkremers@fastmail.com>
Sat, 25 May 2024 19:55:29 +0000 (21:55 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 27 May 2024 20:26:30 +0000 (22:26 +0200)
Bug#71167

(cherry picked from commit cfd654c418658adacd6ab3717dc1b8cc95d99d44)

doc/misc/vtable.texi

index 822b1097cd9e86820033df887074b632f30053b5..6003435385fa9c2f8e9c8248f94e11d0eb51ec43 100644 (file)
@@ -281,11 +281,19 @@ object), or a full @code{vtable-column} object.  A
 The name of the column.
 
 @item width
-The width of the column.  This is either a number (the width of that
-many @samp{x} characters in the table's face), or a string on the form
-@samp{Xe@var{x}}, where @var{x} is a number of @samp{x} characters, or a
-string on the form @samp{Xp@var{x}} (denoting a number of pixels), or a
-string on the form @samp{X%} (a percentage of the window's width).
+The width of the column.  This can be one of the following:
+
+@table @asis
+@item a number @var{n}
+@itemx a string of the form @samp{@var{n}ex}
+The width of @var{n} @samp{x} characters in the table's face.
+
+@item a string of the form @samp{@var{n}px}
+@var{n} pixels.
+
+@item a string of the form @samp{@var{n}%}
+@var{n} percent of the window's width.
+@end table
 
 @item min-width
 This uses the same format as @code{width}, but specifies the minimum