]> git.eshelyaron.com Git - emacs.git/commitdiff
* doc/lispref/modes.texi (Tabulated List Mode): Update.
authorJuri Linkov <juri@linkov.net>
Wed, 21 Feb 2024 17:43:28 +0000 (19:43 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:39:33 +0000 (18:39 +0100)
In the description of 'tabulated-list-format' document
the missing value 'props' that was added long ago.

(cherry picked from commit f28a557c7d4b39f302630ed2b19a73fc375e7ff4)

doc/lispref/modes.texi

index 70d1a40f8365b951d945978366cc9afc4f3a0420..630e42e6878cce25ac45afffcaee5bbc89f20584 100644 (file)
@@ -1189,7 +1189,7 @@ column is sorted in the descending order.
 This buffer-local variable specifies the format of the Tabulated List
 data.  Its value should be a vector.  Each element of the vector
 represents a data column, and should be a list @code{(@var{name}
-@var{width} @var{sort})}, where
+@var{width} @var{sort} . @var{props})}, where
 
 @itemize
 @item
@@ -1206,6 +1206,13 @@ sorted by comparing string values.  Otherwise, this should be a
 predicate function for @code{sort} (@pxref{Rearrangement}), which
 accepts two arguments with the same form as the elements of
 @code{tabulated-list-entries} (see below).
+
+@item
+@var{props} is a plist (@pxref{Property Lists}) of additional column
+properties.  If the value of the property @code{:right-align} is
+non-@code{nil} then the column should be right-aligned.  And the
+property @code{:pad-right} specifies the number of additional padding
+spaces to the right of the column (by default 1 if omitted).
 @end itemize
 @end defvar