mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 22:41:06 -08:00
; * src/window.c: Fix some comments. (Bug#58550)
This commit is contained in:
parent
067361f3a2
commit
efd3ef3ceb
1 changed files with 9 additions and 8 deletions
17
src/window.c
17
src/window.c
|
|
@ -5403,12 +5403,13 @@ window_wants_mode_line (struct window *w)
|
||||||
* Return 1 if window W wants a header line and is high enough to
|
* Return 1 if window W wants a header line and is high enough to
|
||||||
* accommodate it, 0 otherwise.
|
* accommodate it, 0 otherwise.
|
||||||
*
|
*
|
||||||
* W wants a header line if it's a leaf window and neither a minibuffer
|
* W wants a header line if it's a leaf window and neither a
|
||||||
* nor a pseudo window. Moreover, its 'window-mode-line-format'
|
* minibuffer nor a pseudo window. Moreover, its
|
||||||
* parameter must not be 'none' and either that parameter or W's
|
* 'window-header-line-format' parameter must not be 'none' and either
|
||||||
* buffer's 'mode-line-format' value must be non-nil. Finally, W must
|
* that parameter or W's buffer's 'header-line-format' value must be
|
||||||
* be higher than its frame's canonical character height and be able to
|
* non-nil. Finally, W must be higher than its frame's canonical
|
||||||
* accommodate a mode line too if necessary (the mode line prevails).
|
* character height and be able to accommodate a mode line too if
|
||||||
|
* necessary (the mode line prevails).
|
||||||
*/
|
*/
|
||||||
bool
|
bool
|
||||||
window_wants_header_line (struct window *w)
|
window_wants_header_line (struct window *w)
|
||||||
|
|
@ -5436,9 +5437,9 @@ window_wants_header_line (struct window *w)
|
||||||
* accommodate it, 0 otherwise.
|
* accommodate it, 0 otherwise.
|
||||||
*
|
*
|
||||||
* W wants a tab line if it's a leaf window and neither a minibuffer
|
* W wants a tab line if it's a leaf window and neither a minibuffer
|
||||||
* nor a pseudo window. Moreover, its 'window-mode-line-format'
|
* nor a pseudo window. Moreover, its 'window-tab-line-format'
|
||||||
* parameter must not be 'none' and either that parameter or W's
|
* parameter must not be 'none' and either that parameter or W's
|
||||||
* buffer's 'mode-line-format' value must be non-nil. Finally, W must
|
* buffer's 'tab-line-format' value must be non-nil. Finally, W must
|
||||||
* be higher than its frame's canonical character height and be able
|
* be higher than its frame's canonical character height and be able
|
||||||
* to accommodate a mode line and a header line too if necessary (the
|
* to accommodate a mode line and a header line too if necessary (the
|
||||||
* mode line and a header line prevail).
|
* mode line and a header line prevail).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue