diff options
author | Manuel Giraud <manuel@ledu-giraud.fr> | 2022-10-15 18:58:56 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-10-17 13:51:39 +0300 |
commit | efd3ef3ceb799fa26be8f84d54d4a21ebc4a5d31 (patch) | |
tree | e3d9c91e66836f1a44360457521fa80226b27634 /src/window.c | |
parent | 067361f3a29ae23ff609a4308dd025fe783b9723 (diff) | |
download | emacs-efd3ef3ceb799fa26be8f84d54d4a21ebc4a5d31.tar.gz emacs-efd3ef3ceb799fa26be8f84d54d4a21ebc4a5d31.tar.bz2 emacs-efd3ef3ceb799fa26be8f84d54d4a21ebc4a5d31.zip |
; * src/window.c: Fix some comments. (Bug#58550)
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/window.c b/src/window.c index ed30544ff83..51fd2abc5b5 100644 --- a/src/window.c +++ b/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 * accommodate it, 0 otherwise. * - * W wants a header line if it's a leaf window and neither a minibuffer - * nor a pseudo window. Moreover, its 'window-mode-line-format' - * 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 - * be higher than its frame's canonical character height and be able to - * accommodate a mode line too if necessary (the mode line prevails). + * W wants a header line if it's a leaf window and neither a + * minibuffer nor a pseudo window. Moreover, its + * 'window-header-line-format' parameter must not be 'none' and either + * that parameter or W's buffer's 'header-line-format' value must be + * non-nil. Finally, W must be higher than its frame's canonical + * character height and be able to accommodate a mode line too if + * necessary (the mode line prevails). */ bool window_wants_header_line (struct window *w) @@ -5436,9 +5437,9 @@ window_wants_header_line (struct window *w) * accommodate it, 0 otherwise. * * 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 - * 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 * to accommodate a mode line and a header line too if necessary (the * mode line and a header line prevail). |