summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2024-02-21 19:43:28 +0200
committerJuri Linkov <juri@linkov.net>2024-02-21 19:43:28 +0200
commitf28a557c7d4b39f302630ed2b19a73fc375e7ff4 (patch)
treed0137f5cb97772c76daddd636d37759ab420db3b
parentd6131b5902a70339305285f9861bdfd24c567eab (diff)
downloademacs-f28a557c7d4.tar.gz
* doc/lispref/modes.texi (Tabulated List Mode): Update.
In the description of 'tabulated-list-format' document the missing value 'props' that was added long ago.
-rw-r--r--doc/lispref/modes.texi9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index bd4c055c2c2..9fe4d332a21 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -1124,7 +1124,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
@@ -1141,6 +1141,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