Skip to content

Commit

Permalink
transient-mode-line-format: Fix typos in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Nov 11, 2024
1 parent a541b99 commit d90d65b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 18 deletions.
11 changes: 5 additions & 6 deletions docs/transient.org
Original file line number Diff line number Diff line change
Expand Up @@ -548,15 +548,14 @@ Also see [[* Common Suffix Commands]].
displayed right above the echo area, then this probably is not a
good value.

If ~line~ (the default) or a natural number, then the buffer
has no mode-line, but a line is drawn is drawn in its place.
If a number is used, that specifies the thickness of the line.
On termcap frames we cannot draw lines, so there ~line~ and
numbers are synonyms for ~nil~.
If ~line~ (the default) or a natural number, then the buffer has no
mode-line, but a line is drawn in its place. If a number is used,
that specifies the thickness of the line. On termcap frames we
cannot draw lines, so there ~line~ and numbers are synonyms for ~nil~.

The color of the line is used to indicate if non-suffixes are
allowed and whether they exit the transient. The foreground
color of ~transient-key-noop~ (if non-suffix are disallowed),
color of ~transient-key-noop~ (if non-suffixes are disallowed),
~transient-key-stay~ (if allowed and transient stays active), or
~transient-key-exit~ (if allowed and they exit the transient) is
used to draw the line.
Expand Down
11 changes: 5 additions & 6 deletions docs/transient.texi
Original file line number Diff line number Diff line change
Expand Up @@ -707,15 +707,14 @@ If @code{nil}, then the buffer has no mode-line. If the buffer is not
displayed right above the echo area, then this probably is not a
good value.

If @code{line} (the default) or a natural number, then the buffer
has no mode-line, but a line is drawn is drawn in its place.
If a number is used, that specifies the thickness of the line.
On termcap frames we cannot draw lines, so there @code{line} and
numbers are synonyms for @code{nil}.
If @code{line} (the default) or a natural number, then the buffer has no
mode-line, but a line is drawn in its place. If a number is used,
that specifies the thickness of the line. On termcap frames we
cannot draw lines, so there @code{line} and numbers are synonyms for @code{nil}.

The color of the line is used to indicate if non-suffixes are
allowed and whether they exit the transient. The foreground
color of @code{transient-key-noop} (if non-suffix are disallowed),
color of @code{transient-key-noop} (if non-suffixes are disallowed),
@code{transient-key-stay} (if allowed and transient stays active), or
@code{transient-key-exit} (if allowed and they exit the transient) is
used to draw the line.
Expand Down
11 changes: 5 additions & 6 deletions lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -230,15 +230,14 @@ If nil, then the buffer has no mode-line. If the buffer is not
displayed right above the echo area, then this probably is not
a good value.
If `line' (the default) or a natural number, then the buffer
has no mode-line, but a line is drawn is drawn in its place.
If a number is used, that specifies the thickness of the line.
On termcap frames we cannot draw lines, so there `line' and
numbers are synonyms for nil.
If `line' (the default) or a natural number, then the buffer has no
mode-line, but a line is drawn in its place. If a number is used,
that specifies the thickness of the line. On termcap frames we
cannot draw lines, so there `line' and numbers are synonyms for nil.
The color of the line is used to indicate if non-suffixes are
allowed and whether they exit the transient. The foreground
color of `transient-key-noop' (if non-suffix are disallowed),
color of `transient-key-noop' (if non-suffixes are disallowed),
`transient-key-stay' (if allowed and transient stays active), or
`transient-key-exit' (if allowed and they exit the transient) is
used to draw the line.
Expand Down

0 comments on commit d90d65b

Please sign in to comment.