Skip to content

Commit

Permalink
manual: Correct name of column-widths slot
Browse files Browse the repository at this point in the history
Also mention the type.

Closes #345.
  • Loading branch information
tarsius committed Jan 8, 2025
1 parent 000ff15 commit 69202c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/transient.org
Original file line number Diff line number Diff line change
Expand Up @@ -2196,8 +2196,9 @@ functions use ~describe-function~.
- ~mode-line-format~ is this prefix's mode line format, overriding
~transient-mode-line-format~. It should have the same type.

- ~column-width~ is only respected inside ~transient-columns~ groups and
allows aligning columns across separate instances of that.
- ~column-widths~ is only respected inside ~transient-columns~ groups and
allows aligning columns across separate instances of that. A list
of integers.

- ~variable-pitch~ controls whether alignment is done pixel-wise to
account for use of variable-pitch characters, which is useful, e.g.,
Expand Down
5 changes: 3 additions & 2 deletions docs/transient.texi
Original file line number Diff line number Diff line change
Expand Up @@ -2451,8 +2451,9 @@ being initialized. This slot is still experimental.
@code{transient-mode-line-format}. It should have the same type.

@item
@code{column-width} is only respected inside @code{transient-columns} groups and
allows aligning columns across separate instances of that.
@code{column-widths} is only respected inside @code{transient-columns} groups and
allows aligning columns across separate instances of that. A list
of integers.

@item
@code{variable-pitch} controls whether alignment is done pixel-wise to
Expand Down

0 comments on commit 69202c1

Please sign in to comment.