1736 |
the text that would appear in a mode line or header line |
the text that would appear in a mode line or header line |
1737 |
based on certain mode-line specification. |
based on certain mode-line specification. |
1738 |
|
|
1739 |
@defun format-mode-line &optional format window no-props |
@defun format-mode-line &optional format window no-props buffer |
1740 |
This function formats a line of text according to @var{format} as if |
This function formats a line of text according to @var{format} as if |
1741 |
it were generating the mode line for @var{window}, but instead of |
it were generating the mode line for @var{window}, but instead of |
1742 |
displaying the text in the mode line or the header line, it returns |
displaying the text in the mode line or the header line, it returns |
1752 |
The value string normally has text properties that correspond to the |
The value string normally has text properties that correspond to the |
1753 |
faces, keymaps, etc., that the mode line would have. If |
faces, keymaps, etc., that the mode line would have. If |
1754 |
@var{no-props} is non-@code{nil}, the value has no text properties. |
@var{no-props} is non-@code{nil}, the value has no text properties. |
1755 |
|
If @var{buffer} is non-@code{nil}, all the information used is taken |
1756 |
|
from @var{buffer}; by default,it comes from @var{window}'s buffer. |
1757 |
@end defun |
@end defun |
1758 |
|
|
1759 |
@node Imenu |
@node Imenu |